tm 7.67.
[elisp/tm.git] / gnus / Makefile
index ae1cd14..d69bcc3 100644 (file)
@@ -1,82 +1,65 @@
 #
-# $Id: Makefile,v 6.1 1995/05/18 16:48:06 morioka Exp morioka $
+# $Id: Makefile,v 7.5 1996/03/04 09:29:33 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
+FLAGS   = -batch -q -no-site-file -l mk-tgnus
 
 
 # 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 = $(HOME)/lib/emacs18/lisp
-       TMDIR19 = $(HOME)/lib/emacs19/lisp
+# PREFIX = /usr/local
+PREFIX = $(HOME)
 
-       EMACS18_GNUS  = gnus3
+EMACS_PREFIX = emacs
+# EMACS_PREFIX = mule
 
-       EMACS18_GNUS3 = gnus
-       EMACS18_NNTP3 = nntp
+DATADIR18    = $(PREFIX)/lib
+DATADIR19    = $(PREFIX)/lib
+DATADIR19_29 = $(PREFIX)/share
 
-       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
+TMDIR18    = $(DATADIR18)/$(EMACS_PREFIX)/local.lisp/tm
+TMDIR19    = $(DATADIR19)/$(EMACS_PREFIX)/site-lisp
+TMDIR19_29 = $(DATADIR19_29)/$(EMACS_PREFIX)/site-lisp
 
-       EMACS19_GNUS  = gnus
-       EMACS19_NNTP  = nntp
 
-nemacs:                nemacs-$(EMACS18_GNUS)
+FILES  = tm/gnus/Makefile tm/gnus/*-path tm/gnus/mk-tgnus \
+               tm/gnus/*.el tm/gnus/ChangeLog tm/doc/tm-gnus*.texi 
 
-nemacs-gnus3:
-       make -f Makefile.bc all \
-               EMACS=$(NEMACS) EMACS_TYPE=nemacs GNUS_TYPE=gnus3 \
-               GNUS=$(EMACS18_GNUS3) NNTP=$(EMACS18_NNTP3)
 
-nemacs-gnus4:
-       make -f Makefile.bc all \
-               EMACS=$(NEMACS) EMACS_TYPE=nemacs GNUS_TYPE=gnus4 \
-               GNUS=$(EMACS18_GNUS4) NNTP=$(EMACS18_NNTP4)
+TARFILE = tm-gnus7.69.tar
 
-mule1:         mule1-$(EMACS18_GNUS)
 
-mule1-gnus3:
-       make -f Makefile.bc all \
-               EMACS=$(MULE1) EMACS_TYPE=mule GNUS_TYPE=gnus3 \
-               GNUS=$(EMACS18_GNUS3) NNTP=$(EMACS18_NNTP3)
+gnus:
+       $(EMACS) $(FLAGS) -f compile-tm-gnus
 
-mule1-gnus4:
-       make -f Makefile.bc all \
-               EMACS=$(MULE1) EMACS_TYPE=mule GNUS_TYPE=gnus4 \
-               GNUS=$(EMACS18_GNUS4) NNTP=$(EMACS18_NNTP4)
+gnus3:
+       $(EMACS) $(FLAGS) -l g3-path -f compile-tm-gnus
 
-install-18:
-       ../inst-el $(TMDIR18) tm-gnus*.el
-       ../inst-elc $(TMDIR18) tm-gnus*.elc
+gnus4:
+       $(EMACS) $(FLAGS) -l g4-path -f compile-tm-gnus
 
+gnus5:
+       $(EMACS) $(FLAGS) -l g5-path -f compile-tm-gnus
 
-orig19:
-       make -f Makefile.bc all \
-               EMACS=$(ORIG19) EMACS_TYPE=orig GNUS_TYPE=gnus4 \
-               GNUS=$(EMACS19_GNUS) NNTP=$(EMACS19_NNTP)
+sgnus:
+       $(EMACS) $(FLAGS) -l s-path -f compile-tm-gnus
 
-mule2:
-       make -f Makefile.bc all \
-               EMACS=$(MULE2) EMACS_TYPE=mule GNUS_TYPE=gnus4 \
-               GNUS=$(EMACS19_GNUS) NNTP=$(EMACS19_NNTP)
+install-18:
+       $(EMACS) $(FLAGS) -f install-tm-gnus $(TMDIR18)
 
 install-19:
-       ../inst-el $(TMDIR19) tm-gnus.el tm-gnus4.el
-       ../inst-elc $(TMDIR19) tm-gnus*.elc
+       $(EMACS) $(FLAGS) -f install-tm-gnus $(TMDIR19)
 
+install-19_29:
+       $(EMACS) $(FLAGS) -f install-tm-gnus $(TMDIR19_29)
 
 clean:
        -rm *.elc
+
+
+tar:
+       cd ../..; tar cvf $(TARFILE) $(FILES); gzip -9 $(TARFILE)