tm 6.22.2
[elisp/tm.git] / gnus / Makefile
index e847c7e..eb28c64 100644 (file)
@@ -1,5 +1,5 @@
 #
-# $Id: Makefile,v 1.4 1995/01/13 20:50:22 morioka Exp morioka $
+# $Id: Makefile,v 6.2 1995/05/19 11:42:33 morioka Exp morioka $
 #
 
 # Please specify emacs executables:
@@ -8,65 +8,74 @@
 #      ORIG19  = for Emacs 19.* (FSF original or XEmacs)
 #      MULE2   = for MULE 2.* (based on Emacs 19.*)
 
-       NEMACS  = nemacs
-       MULE1   = mule
-       ORIG19  = emacs19
-       MULE2   = mule2
+NEMACS = nemacs
+MULE1  = mule
+ORIG19 = emacs19
+MULE2  = mule2
 
 
 # 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
+# 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
 
-       TMSRCDIR = ..
-       TLSRCDIR = ../../tl
+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
+
+nemacs:                nemacs-$(EMACS18_GNUS)
 
 nemacs-gnus3:
        make -f Makefile.bc all \
                EMACS=$(NEMACS) EMACS_TYPE=nemacs GNUS_TYPE=gnus3 \
-               TLDIR=$(TLSRCDIR) TMDIR=$(TMSRCDIR)
+               GNUS=$(EMACS18_GNUS3) NNTP=$(EMACS18_NNTP3)
 
 nemacs-gnus4:
        make -f Makefile.bc all \
                EMACS=$(NEMACS) EMACS_TYPE=nemacs GNUS_TYPE=gnus4 \
-               TLDIR=$(TLSRCDIR) TMDIR=$(TMSRCDIR)
+               GNUS=$(EMACS18_GNUS4) NNTP=$(EMACS18_NNTP4)
+
+mule1:         mule1-$(EMACS18_GNUS)
 
 mule1-gnus3:
        make -f Makefile.bc all \
                EMACS=$(MULE1) EMACS_TYPE=mule GNUS_TYPE=gnus3 \
-               TLDIR=$(TLSRCDIR) TMDIR=$(TMSRCDIR)
+               GNUS=$(EMACS18_GNUS3) NNTP=$(EMACS18_NNTP3)
 
 mule1-gnus4:
        make -f Makefile.bc all \
                EMACS=$(MULE1) EMACS_TYPE=mule GNUS_TYPE=gnus4 \
-               TLDIR=$(TLSRCDIR) TMDIR=$(TMSRCDIR)
+               GNUS=$(EMACS18_GNUS4) NNTP=$(EMACS18_NNTP4)
 
 install-18:
-       -chmod +w $(TMDIR18)/tm-gnus*.el
-       cp -p tm-gnus*.el $(TMDIR18)
-       mv tm-gnus*.elc $(TMDIR18)
+       ../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 \
-               TLDIR=$(TLSRCDIR) TMDIR=$(TMSRCDIR)
+               GNUS=$(EMACS19_GNUS) NNTP=$(EMACS19_NNTP)
 
 mule2:
        make -f Makefile.bc all \
                EMACS=$(MULE2) EMACS_TYPE=mule GNUS_TYPE=gnus4 \
-               TLDIR=$(TLSRCDIR) TMDIR=$(TMSRCDIR)
+               GNUS=$(EMACS19_GNUS) NNTP=$(EMACS19_NNTP)
 
 install-19:
-       -(cd $(TMDIR19); chmod +w tm-gnus.el tm-gnus4.el)
-       cp -p tm-gnus.el tm-gnus4.el $(TMDIR19)
-       mv tm-gnus*.elc $(TMDIR19)
+       ../inst-el $(TMDIR19) tm-gnus.el tm-gnus4.el
+       ../inst-elc $(TMDIR19) tm-gnus*.elc
 
 
 clean: