summaryrefslogtreecommitdiff
path: root/dviware/dvibook/Imakefile
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /dviware/dvibook/Imakefile
Initial commit
Diffstat (limited to 'dviware/dvibook/Imakefile')
-rw-r--r--dviware/dvibook/Imakefile121
1 files changed, 121 insertions, 0 deletions
diff --git a/dviware/dvibook/Imakefile b/dviware/dvibook/Imakefile
new file mode 100644
index 0000000000..2ab8de24a7
--- /dev/null
+++ b/dviware/dvibook/Imakefile
@@ -0,0 +1,121 @@
+/*
+ * Copyright 1989 Dirk Grunwald
+ *
+ * Permission to use, copy, modify, distribute, and sell this software
+ * and its documentation for any purpose is hereby granted without fee,
+ * provided that the above copyright notice appear in all copies and that
+ * both that copyright notice and this permission notice appear in
+ * supporting documentation, and that the name of Dirk Grunwald or M.I.T.
+ * not be used in advertising or publicity pertaining to distribution of
+ * the software without specific, written prior permission. Dirk
+ * Grunwald and M.I.T. makes no representations about the suitability of
+ * this software for any purpose. It is provided "as is" without express
+ * or implied warranty.
+ *
+ * DIRK GRUNWALD AND M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
+ * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ * FITNESS, IN NO EVENT SHALL M.I.T. BE LIABLE FOR ANY SPECIAL, INDIRECT
+ * OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
+ * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+ * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
+ * OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ * Author:
+ * Dr. Dirk Grunwald
+ * Dept. of Computer Science
+ * Campus Box 430
+ * Univ. of Colorado, Boulder
+ * Boulder, CO 80309
+ *
+ * grunwald@colorado.edu
+ *
+ */
+
+#define IHaveSubdirs
+
+/*
+COMMON_SUBDIRS = libtex Xtex Mftobdf Dviselect Dviconcat Texx Iptex
+*/
+COMMON_SUBDIRS = libtex Dviselect Dviconcat Dvitodvi Dvibook
+
+#include "./Imake.Config"
+
+#ifdef SunArchitecture
+ SUBDIRS = $(COMMON_SUBDIRS) Texsun
+#endif
+
+#ifdef unixpc
+ SUBDIRS = libtex Tex3b1 Dviselect
+#endif
+
+#if !defined(SunArchitecture) && !defined(unixpc)
+ SUBDIRS = $(COMMON_SUBDIRS)
+#endif
+
+TARSUBDIRS = libtex Doc Xtex Mftobdf Dviselect Dviconcat \
+ Texx Iptex Fonts Texsun Tex3b1
+
+#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
+
+MakeSubdirs($(SUBDIRS))
+DependSubdirs($(SUBDIRS))
+
+
+FILES = Imakefile Imake.Config fontdesc-example README \
+ Imake.cpp Imake.m4 NoImake
+
+VERSION =2.18.5
+FTP =/srl/ftp
+tar:
+ for file in $(TARSUBDIRS);\
+ do\
+ (cd $$file ; $(MAKE) Makefile ) ;\
+ done
+ cd ..;\
+ rm -f SeeTeX.tar ; \
+ tar cf SeeTeX.tar SeeTeX/Imakefile ; \
+ for file in $(FILES);\
+ do\
+ tar rf SeeTeX.tar SeeTeX/$$file; \
+ done; \
+ cd SeeTeX; \
+ for file in $(TARSUBDIRS);\
+ do\
+ (cd $$file ; $(MAKE) TARFILE=SeeTeX.tar PRODUCT=SeeTeX tar);\
+ done ; \
+ cd .. ; \
+ mv SeeTeX.tar /usr/tmp ; \
+ rm -rf /usr/tmp/SeeTeX ; \
+ (cd /usr/tmp;\
+ tar xvf SeeTeX.tar;\
+ rm -f SeeTeX.tar $(FTP)/pub/SeeTeX/SeeTeX*.tar*;\
+ tar crf $(FTP)/pub/SeeTeX/SeeTeX-$(VERSION).tar SeeTeX;\
+ rm -rf SeeTeX ;\
+ compress $(FTP)/pub/SeeTeX/SeeTeX-$(VERSION).tar)
+ (cd Xtex; \
+ $(MAKE) xtex-$(VERSION).tar.Z;\
+ mv xtex-$(VERSION).tar.Z $(FTP)/pub/SeeTeX)
+
+
+libtex/lib.a:
+ cd libtex; $(MAKE)
+
+xtex: libtex/lib.a
+ cd Xtex; $(MAKE)
+
+mftobdf XeT/mftobdf:
+ cd Mftobdf ; $(MAKE) mftobdf
+
+dviselect Dviselect/dviselect:
+ cd Dviselect ; $(MAKE) dviselect
+
+texsun Texsun/texsun:
+ cd Texsun ; $(MAKE) texsun
+
+texx Texx/texx:
+ cd Texx ; $(MAKE) texx
+
+iptex Iptex/iptex:
+ cd Iptex ; $(MAKE) iptex
+
+