tm 7.38.
[elisp/tm.git] / Makefile
index 57912af..ab7ac2f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 #
-# $Id: Makefile,v 7.10 1995/12/19 17:50:09 morioka Exp morioka $
+# $Id: Makefile,v 7.11 1995/12/21 11:06:40 morioka Exp morioka $
 #
 
 include config.tm
@@ -38,71 +38,71 @@ TL_FILES = tl/README.en tl/Makefile tl/mk-tl tl/*.el tl/doc/*.texi \
 
 FILES  = $(TM_FILES) $(TM_MUA_FILES) $(MEL_FILES) $(TL_FILES)
 
-TARFILE = tm7.37.tar.gz
+TARFILE = tm7.38.tar.gz
 
 
 18:
-       cd ../tl; PWD=`pwd` make elc EMACS=$(EMACS18)
-       cd ../mel; PWD=`pwd` make elc EMACS=$(EMACS18)
+       cd ../tl; PWD=`pwd` $(MAKE) elc EMACS=$(EMACS18)
+       cd ../mel; PWD=`pwd` $(MAKE) elc EMACS=$(EMACS18)
        $(EMACS18) -batch -l mk-tm -f compile-tm
-       cd gnus; PWD=`pwd` make gnus3 EMACS=$(EMACS18)
+       cd gnus; PWD=`pwd` $(MAKE) gnus3 EMACS=$(EMACS18)
 # If you use GNUS 4.*, please use following comment:
-#      cd gnus; PWD=`pwd` make gnus4 EMACS=$(EMACS18)
-       cd mh-e; PWD=`pwd` make elc EMACS=$(EMACS18)
+#      cd gnus; PWD=`pwd` $(MAKE) gnus4 EMACS=$(EMACS18)
+       cd mh-e; PWD=`pwd` $(MAKE) elc EMACS=$(EMACS18)
 
 install-18:    18
        cd ../tl; PWD=`pwd` \
-               make install-18 EMACS=$(EMACS18) TLDIR18=$(TLDIR18)
+               $(MAKE) install-18 EMACS=$(EMACS18) TLDIR18=$(TLDIR18)
        cd ../mel; PWD=`pwd` \
-               make install-18 EMACS=$(EMACS18) MELDIR18=$(MELDIR18)
+               $(MAKE) install-18 EMACS=$(EMACS18) MELDIR18=$(MELDIR18)
        $(EMACS18) -batch -l mk-tm -f install-tm $(TMDIR18)
        cd gnus; PWD=`pwd` \
-               make install-18 EMACS=$(EMACS18) TMDIR18=$(TM_GNUS_DIR18)
+               $(MAKE) install-18 EMACS=$(EMACS18) TMDIR18=$(TM_GNUS_DIR18)
        cd mh-e; PWD=`pwd` \
-               make install-18 EMACS=$(EMACS18) TMDIR18=$(TMH_DIR18)
+               $(MAKE) install-18 EMACS=$(EMACS18) TMDIR18=$(TMH_DIR18)
 
 
 xemacs:
-       cd ../tl; PWD=`pwd` make elc EMACS=$(XEMACS)
-       cd ../mel; PWD=`pwd` make elc EMACS=$(XEMACS)
+       cd ../tl; PWD=`pwd` $(MAKE) elc EMACS=$(XEMACS)
+       cd ../mel; PWD=`pwd` $(MAKE) elc EMACS=$(XEMACS)
        $(XEMACS) -batch -l mk-tm -f compile-tm
-       cd gnus; PWD=`pwd` make gnus EMACS=$(XEMACS)
-       cd gnus; PWD=`pwd` make gnus5 EMACS=$(XEMACS)
-       cd gnus; PWD=`pwd` make sgnus EMACS=$(XEMACS)
-       cd mh-e; PWD=`pwd` make elc EMACS=$(XEMACS)
+       cd gnus; PWD=`pwd` $(MAKE) gnus EMACS=$(XEMACS)
+       cd gnus; PWD=`pwd` $(MAKE) gnus5 EMACS=$(XEMACS)
+       cd gnus; PWD=`pwd` $(MAKE) sgnus EMACS=$(XEMACS)
+       cd mh-e; PWD=`pwd` $(MAKE) elc EMACS=$(XEMACS)
 
 install-xemacs:        xemacs
        cd ../tl; PWD=`pwd` \
-               make install-19 EMACS=$(XEMACS) TLDIR19=$(TLDIR19)
+               $(MAKE) install-19 EMACS=$(XEMACS) TLDIR19=$(TLDIR19)
        cd ../mel; PWD=`pwd` \
-               make install-19 EMACS=$(XEMACS) MELDIR19=$(MELDIR19)
+               $(MAKE) install-19 EMACS=$(XEMACS) MELDIR19=$(MELDIR19)
        $(XEMACS) -batch -l mk-tm -f install-tm $(TMDIR19)
        cd gnus; PWD=`pwd` \
-               make install-19 EMACS=$(XEMACS) TMDIR19=$(TM_GNUS_DIR19)
+               $(MAKE) install-19 EMACS=$(XEMACS) TMDIR19=$(TM_GNUS_DIR19)
        cd mh-e; PWD=`pwd` \
-               make install-19 EMACS=$(XEMACS) TMDIR19=$(TMH_DIR19)
+               $(MAKE) install-19 EMACS=$(XEMACS) TMDIR19=$(TMH_DIR19)
 
 
 19_29:
-       cd ../tl; PWD=`pwd` make elc EMACS=$(EMACS19_29)
-       cd ../mel; PWD=`pwd` make elc EMACS=$(EMACS19_29)
+       cd ../tl; PWD=`pwd` $(MAKE) elc EMACS=$(EMACS19_29)
+       cd ../mel; PWD=`pwd` $(MAKE) elc EMACS=$(EMACS19_29)
        $(EMACS19_29) -batch -l mk-tm -f compile-tm
-       cd gnus; PWD=`pwd` make gnus EMACS=$(EMACS19_29)
-       cd gnus; PWD=`pwd` make gnus5 EMACS=$(EMACS19_29)
-       cd gnus; PWD=`pwd` make sgnus EMACS=$(EMACS19_29)
-       cd mh-e; PWD=`pwd` make elc EMACS=$(EMACS19_29) 
+       cd gnus; PWD=`pwd` $(MAKE) gnus EMACS=$(EMACS19_29)
+       cd gnus; PWD=`pwd` $(MAKE) gnus5 EMACS=$(EMACS19_29)
+       cd gnus; PWD=`pwd` $(MAKE) sgnus EMACS=$(EMACS19_29)
+       cd mh-e; PWD=`pwd` $(MAKE) elc EMACS=$(EMACS19_29)      
 
 install-19_29: 19_29
        cd ../tl; PWD=`pwd` \
-               make install-19 EMACS=$(EMACS19_29) TLDIR19=$(TLDIR19_29)
+               $(MAKE) install-19 EMACS=$(EMACS19_29) TLDIR19=$(TLDIR19_29)
        cd ../mel; PWD=`pwd` \
-               make install-19 EMACS=$(EMACS19_29) MELDIR19=$(MELDIR19_29)
+               $(MAKE) install-19 EMACS=$(EMACS19_29) MELDIR19=$(MELDIR19_29)
        $(EMACS19_29) -batch -l mk-tm -f install-tm $(TMDIR19_29)
        cd gnus; PWD=`pwd` \
-               make install-19_29 EMACS=$(EMACS19_29) \
+               $(MAKE) install-19_29 EMACS=$(EMACS19_29) \
                        TMDIR19_29=$(TM_GNUS_DIR19_29)
        cd mh-e; PWD=`pwd` \
-               make install-19 EMACS=$(EMACS19_29) TMDIR19=$(TMH_DIR19_29)
+               $(MAKE) install-19 EMACS=$(EMACS19_29) TMDIR19=$(TMH_DIR19_29)
 
 
 all:   $(UTILS) $(DVI)
@@ -115,13 +115,13 @@ src/decode-b:     src/decode-b.c
 
 
 tex:   ol2
-       cd doc; make tex
+       cd doc; $(MAKE) tex
 
 dvi:   ol2
-       cd doc; make dvi
+       cd doc; $(MAKE) dvi
 
 ps:    ol2
-       cd doc; make ps
+       cd doc; $(MAKE) ps
 
 
 install:       $(UTILS) methods
@@ -131,12 +131,12 @@ install:  $(UTILS) methods
 
 clean:
        -$(RM) $(GOMI)
-       -cd doc; make clean
-       -cd gnus; make clean
-       -cd mh-e; make clean
-       cd ../mel; PWD=`pwd` make clean
+       -cd doc; $(MAKE) clean
+       -cd gnus; $(MAKE) clean
+       -cd mh-e; $(MAKE) clean
+       cd ../mel; PWD=`pwd` $(MAKE) clean
 
 
 tar:
-       cd doc; make tex
+       cd doc; $(MAKE) tex
        cd ..; gtar cvzf $(TARFILE) $(FILES)