tm 7.12.
[elisp/tm.git] / gnus / Makefile
index b28bc05..f69d772 100644 (file)
@@ -1,17 +1,9 @@
 #
-# $Id: Makefile,v 6.2 1995/05/19 11:42:33 morioka Exp morioka $
+# $Id: Makefile,v 6.4 1995/09/24 20:23:39 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  = mule
-ORIG19 = emacs19
-MULE2  = mule2
+EMACS  = mule
 
 
 # Please specfy Emacs Lisp install directory:
@@ -21,68 +13,33 @@ MULE2       = mule2
 # 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
-
-EMACS18_GNUS  = gnus3
-
-EMACS18_GNUS3 = gnus
-EMACS18_NNTP3 = nntp
-
-EMACS18_GNUS4 = /usr/local/lib/emacs/local.lisp/gnus-4.1/lisp/gnus
-EMACS18_NNTP4 = /usr/local/lib/emacs/local.lisp/gnus-4.1/lisp/nntp
-
-EMACS19_GNUS  = gnus
-EMACS19_NNTP  = nntp
-
+TMDIR19 = $(HOME)/lib/emacs19/lisp
 
-FILES  = tm/gnus/*.el
+FILES  = tm/gnus/*.el tm/doc/tm-gnus*.texi
 
-TARFILE = tm-gnus6.3.tar
+TARFILE = tm-gnus7.02.1.tar
 
 
-nemacs:                nemacs-$(EMACS18_GNUS)
+gnus3:
+       $(EMACS) -batch -l g3-path -l mk-tgnus -f compile-tm-gnus
 
-nemacs-gnus3:
-       make -f Makefile.bc all \
-               EMACS=$(NEMACS) EMACS_TYPE=nemacs GNUS_TYPE=gnus3 \
-               GNUS=$(EMACS18_GNUS3) NNTP=$(EMACS18_NNTP3)
+gnus4:
+       $(EMACS) -batch -l g4-path -l mk-tgnus -f compile-tm-gnus
 
-nemacs-gnus4:
-       make -f Makefile.bc all \
-               EMACS=$(NEMACS) EMACS_TYPE=nemacs GNUS_TYPE=gnus4 \
-               GNUS=$(EMACS18_GNUS4) NNTP=$(EMACS18_NNTP4)
+dgnus:
+       $(EMACS) -batch -l d-path -l mk-tgnus -f compile-tm-gnus
 
-mule1:         mule1-$(EMACS18_GNUS)
+gnus5:
+       $(EMACS) -batch -l g5-path -l mk-tgnus -f compile-tm-gnus
 
-mule1-gnus3:
-       make -f Makefile.bc all \
-               EMACS=$(MULE1) EMACS_TYPE=mule GNUS_TYPE=gnus3 \
-               GNUS=$(EMACS18_GNUS3) NNTP=$(EMACS18_NNTP3)
-
-mule1-gnus4:
-       make -f Makefile.bc all \
-               EMACS=$(MULE1) EMACS_TYPE=mule GNUS_TYPE=gnus4 \
-               GNUS=$(EMACS18_GNUS4) NNTP=$(EMACS18_NNTP4)
+sgnus:
+       $(EMACS) -batch -l s-path -l mk-tgnus -f compile-tm-gnus
 
 install-18:
-       ../inst-el $(TMDIR18) tm-gnus*.el
-       ../inst-elc $(TMDIR18) tm-gnus*.elc
-
-
-orig19:
-       make -f Makefile.bc all \
-               EMACS=$(ORIG19) EMACS_TYPE=orig GNUS_TYPE=gnus4 \
-               GNUS=$(EMACS19_GNUS) NNTP=$(EMACS19_NNTP)
-
-mule2:
-       make -f Makefile.bc all \
-               EMACS=$(MULE2) EMACS_TYPE=mule GNUS_TYPE=gnus4 \
-               GNUS=$(EMACS19_GNUS) NNTP=$(EMACS19_NNTP)
+       $(EMACS) -batch -l g3-path -l mk-tgnus -f install-tm-gnus $(TMDIR18)
 
 install-19:
-       ../inst-el $(TMDIR19) tm-gnus.el tm-gnus4.el
-       ../inst-elc $(TMDIR19) tm-gnus*.elc
-
+       $(EMACS) -batch -l g4-path -l mk-tgnus -f install-tm-gnus $(TMDIR19)
 
 clean:
        -rm *.elc