#
-# $Id: Makefile,v 6.24 1995/09/01 18:15:10 morioka Exp morioka $
+# $Id: Makefile,v 6.27 1995/09/05 17:35:24 morioka Exp morioka $
#
-# Please specify emacs executables:
-# NEMACS = for NEMACS (or NEpoch)
-# MULE1 = for Mule 1.* (based on Emacs 18.*)
-# ORIG19 = for Emacs 19.* (FSF original or XEmacs)
-# MULE2 = for MULE 2.* (based on Emacs 19.*)
-
-NEMACS = nemacs
-MULE1 = mule1
-ORIG19 = emacs19
-MULE2 = mule2
-
-# Please specify Emacs Lisp install directory:
-# TMDIR18 = for Emacs 18.* (NEMACS, NEpoch or MULE 1)
-# TMDIR19 = for Emacs 19.* (FSF original, XEmacs or MULE 2)
-
-#TMDIR18 = /usr/local/lib/emacs/local.lisp/tm
-#TMDIR19 = /usr/local/lib/mule/site-lisp
-
-TMDIR18 = $(HOME)/lib/emacs18/lisp
-TMDIR19 = $(HOME)/lib/emacs19/lisp
-
-# Please specify optional load-path
-NEMACS_OPT = /usr/local/lib/nemacs/local.lisp
-MULE1_OPT = /usr/local/lib/mule/local.lisp
-ORIG19_OPT =
-MULE2_OPT =
-
-bindir = $(HOME)/bin
-
-CC = gcc
-CFLAGS = -O
-
-RM = /bin/rm -f
-CP = /bin/cp -p
+include config.tm
UTILS = ol2 decode-b
GOMI = $(UTILS) *.elc loadpath
TM_FILES = tm/README.eng tm/rel-*.ol tm/Changes* \
- tm/Makefile tm/mk-tm \
+ tm/config.tm tm/Makefile tm/mk-tm \
tm/tm-view.el tm/tiny-mime.el \
- tm/tm-mule.el tm/tm-nemacs.el tm/tm-orig.el tm/tm-misc.el \
+ tm/tm-mule.el tm/tm-nemacs.el tm/tm-orig.el tm/tm-def.el \
tm/tm-ftp.el tm/tm-latex.el tm/tm-partial.el \
tm/tm-rich.el tm/richtext.el tm/tinyrich.el \
tm/tm-comp.el \
FILES = $(TM_FILES) $(TM_MUA_FILES) $(MEL_FILES) $(TL_FILES)
-TARFILE = tm6.76.2.tar
+TARFILE = tm6.78.1.tar
nemacs:
cd mh-e; PWD=`pwd` make elc EMACS=$(NEMACS)
install-nemacs: nemacs
- cd ../tl; PWD=`pwd` make install-nemacs NEMACS=$(NEMACS)
- cd ../mel; PWD=`pwd` make install-18 EMACS=$(NEMACS)
+ cd ../tl; PWD=`pwd` \
+ make install-nemacs NEMACS=$(NEMACS) TLDIR18=$(TLDIR18)
+ cd ../mel; PWD=`pwd` \
+ make install-18 EMACS=$(NEMACS) MELDIR18=$(MELDIR18)
$(NEMACS) -batch -l mk-tm -f install-tm $(TMDIR18)
- cd gnus; PWD=`pwd` make install-18 EMACS=$(NEMACS) TMDIR18=$(TMDIR18)
- cd mh-e; PWD=`pwd` make install-18 EMACS=$(NEMACS) TMDIR18=$(TMDIR18)
+ cd gnus; PWD=`pwd` \
+ make install-18 EMACS=$(NEMACS) TMDIR18=$(TM_GNUS_DIR18)
+ cd mh-e; PWD=`pwd` \
+ make install-18 EMACS=$(NEMACS) TMDIR18=$(TMH_DIR18)
mule1:
cd mh-e; PWD=`pwd` make elc EMACS=$(MULE1)
install-mule1: mule1
- cd ../tl; PWD=`pwd` make install-mule1 MULE1=$(MULE1)
- cd ../mel; PWD=`pwd` make install-18 EMACS=$(MULE1)
+ cd ../tl; PWD=`pwd` \
+ make install-mule1 MULE1=$(MULE1) TLDIR18=$(TLDIR18)
+ cd ../mel; PWD=`pwd` \
+ make install-18 EMACS=$(MULE1) MELDIR18=$(MELDIR18)
$(MULE1) -batch -l mk-tm -f install-tm $(TMDIR18)
- cd gnus; PWD=`pwd` make install-18 EMACS=$(MULE1) TMDIR18=$(TMDIR18)
- cd mh-e; PWD=`pwd` make install-18 EMACS=$(MULE1) TMDIR18=$(TMDIR18)
+ cd gnus; PWD=`pwd` \
+ make install-18 EMACS=$(MULE1) TMDIR18=$(TM_GNUS_DIR18)
+ cd mh-e; PWD=`pwd` \
+ make install-18 EMACS=$(MULE1) TMDIR18=$(TMH_DIR18)
orig19:
cd mh-e; PWD=`pwd` make elc EMACS=$(ORIG19)
install-orig19: orig19
- cd ../tl; PWD=`pwd` make install-orig19 ORIG19=$(ORIG19)
- cd ../mel; PWD=`pwd` make install-19 EMACS=$(ORIG19)
+ cd ../tl; PWD=`pwd` \
+ make install-orig19 ORIG19=$(ORIG19) TLDIR19=$(TLDIR19)
+ cd ../mel; PWD=`pwd` \
+ make install-19 EMACS=$(ORIG19) MELDIR19=$(MELDIR19)
$(ORIG19) -batch -l mk-tm -f install-tm $(TMDIR19)
- cd gnus; PWD=`pwd` make install-19 EMACS=$(ORIG19) TMDIR19=$(TMDIR19)
- cd mh-e; PWD=`pwd` make install-19 EMACS=$(ORIG19) TMDIR19=$(TMDIR19)
+ cd gnus; PWD=`pwd` \
+ make install-19 EMACS=$(ORIG19) TMDIR19=$(TM_GNUS_DIR19)
+ cd mh-e; PWD=`pwd` \
+ make install-19 EMACS=$(ORIG19) TMDIR19=$(TMH_DIR19)
mule2:
cd mh-e; PWD=`pwd` make elc EMACS=$(MULE2)
install-mule2: mule2
- cd ../tl; PWD=`pwd` make install-mule2 MULE2=$(MULE2)
- cd ../mel; PWD=`pwd` make install-19 EMACS=$(MULE2)
+ cd ../tl; PWD=`pwd` \
+ make install-mule2 MULE2=$(MULE2) TLDIR19=$(TLDIR19)
+ cd ../mel; PWD=`pwd` \
+ make install-19 EMACS=$(MULE2) MELDIR19=$(MELDIR19)
$(MULE2) -batch -l mk-tm -f install-tm $(TMDIR19)
- cd gnus; PWD=`pwd` make install-19 EMACS=$(MULE2) TMDIR19=$(TMDIR19)
- cd mh-e; PWD=`pwd` make install-19 EMACS=$(MULE2) TMDIR19=$(TMDIR19)
+ cd gnus; PWD=`pwd` \
+ make install-19 EMACS=$(MULE2) TMDIR19=$(TM_GNUS_DIR19)
+ cd mh-e; PWD=`pwd` \
+ make install-19 EMACS=$(MULE2) TMDIR19=$(TMH_DIR19)
all: $(UTILS) $(DVI)