tm 7.63.
[elisp/tm.git] / mh-e / Makefile
index 0f77453..f12f673 100644 (file)
@@ -1,5 +1,5 @@
 #
-# $Id: Makefile,v 4.0 1995/05/01 19:07:47 morioka Exp morioka $
+# $Id: Makefile,v 6.3 1996/01/18 10:31:49 morioka Exp morioka $
 #
 
 # Please specify emacs executables:
@@ -8,42 +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:
-       -chmod +w $(TMDIR18)/tm-mh-e*.el
-       cp -p tm-mh-e*.el $(TMDIR18)
-       mv tm-mh-e*.elc $(TMDIR18)
+FILES  = tm/mh-e/*.el tm/mh-e/Makefile tm/mh-e/mk-tmh tm/mh-e/*.ol
+TARFILE = tm-mh-e7.62.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:
-       -chmod +w $(TMDIR19)/tm-mh-e*.el
-       cp -p tm-mh-e*.el $(TMDIR19)
-       mv tm-mh-e*.elc $(TMDIR19)
+       $(EMACS) $(FLAGS) -f install-tm-mh-e $(TMDIR19)
 
 
 clean:
        -rm *.elc
+
+
+tar:
+       cd ../..; tar cvf $(TARFILE) $(FILES); gzip -9 $(TARFILE)