tm 7.106.
[elisp/tm.git] / mh-e / Makefile
index 4f589d7..585fc71 100644 (file)
@@ -1,5 +1,5 @@
 #
-# $Id: Makefile,v 6.0 1995/05/19 11:43:49 morioka Exp morioka $
+# $Id: Makefile,v 6.3 1996/01/18 10:31:49 morioka Exp morioka $
 #
 
 # Please specify emacs executables:
@@ -8,40 +8,38 @@
 #      ORIG19  = for Emacs 19.* (FSF original or XEmacs)
 #      MULE2   = for MULE 2.* (based on Emacs 19.*)
 
-NEMACS = nemacs
-MULE1  = mule1
-ORIG19 = emacs19
-MULE2  = mule2
+EMACS  = mule
+FLAGS   = -batch -q -no-site-file -l mk-tmh
 
 
 # Please specfy 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 = /usr/local/lib/emacs/local.lisp/tm
+# TMDIR19 = /usr/local/lib/mule/site-lisp
 
-nemacs:
-       make -f Makefile.bc tm-mh-e.elc EMACS=$(NEMACS)
+TMDIR18        = $(HOME)/lib/emacs18/lisp
+TMDIR19        = $(HOME)/lib/emacs19/lisp
 
-mule1:
-       make -f Makefile.bc tm-mh-e.elc EMACS=$(MULE1)
 
-install-18:
-       ../inst-el $(TMDIR18) tm-mh-e*.el
-       ../inst-elc $(TMDIR18) tm-mh-e*.elc
+FILES  = tm/mh-e/*.el tm/mh-e/Makefile tm/mh-e/mk-tmh tm/mh-e/*.ol
+TARFILE = tm-mh-e7.63.1.tar
 
 
-orig19:
-       make -f Makefile.bc mh-e4 EMACS=$(ORIG19)
+elc:
+       $(EMACS) $(FLAGS) -f compile-tm-mh-e
 
-mule2:
-       make -f Makefile.bc mh-e4 EMACS=$(MULE2)
+install-18:
+       $(EMACS) $(FLAGS) -f install-tm-mh-e $(TMDIR18)
 
 install-19:
-       ../inst-el $(TMDIR19) tm-mh-e*.el
-       ../inst-elc $(TMDIR19) tm-mh-e*.elc
+       $(EMACS) $(FLAGS) -f install-tm-mh-e $(TMDIR19)
 
 
 clean:
        -rm *.elc
+
+
+tar:
+       cd ../..; tar cvf $(TARFILE) $(FILES); gzip -9 $(TARFILE)