X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=Makefile;h=f5808d9dcd4a18630ce9da9c4eb59d70acb8e74c;hb=53ab6c426401d04d0d0ce99d6df144187be6ba01;hp=f09d7f1acd1b22dd8c517fc02cfeab9c95d868da;hpb=70061cd3b20d164db66fed000c40db6fc6c2e34e;p=elisp%2Ftm.git diff --git a/Makefile b/Makefile index f09d7f1..f5808d9 100644 --- a/Makefile +++ b/Makefile @@ -1,26 +1,33 @@ # -# $Id: Makefile,v 7.14 1996/01/18 10:27:43 morioka Exp morioka $ +# $Id: Makefile,v 7.22 1996/05/08 15:40:58 morioka Exp morioka $ # -include config.tm +SHELL = /bin/sh +MAKE = make +CC = gcc +CFLAGS = -O2 +RM = /bin/rm -f +CP = /bin/cp -p +EMACS = emacs BINS = src/ol2 src/decode-b UTILS = $(BINS) -GOMI = $(BINS) *.elc loadpath -FLAGS = -batch -q -no-site-file -l mk-tm +GOMI = $(BINS) mime-setup.el mime-setup.el~ \#mime-setup.el\# *.elc \ + .gnus-compile* +FLAGS = -batch -q -no-site-file TM_FILES = tm/README.en tm/ChangeLog \ - tm/config.tm tm/Makefile tm/mk-tm \ - tm/tm-mule.el tm/tm-nemacs.el tm/tm-orig.el tm/tm-def.el \ + tm/Makefile tm/inst-tm tm/TM-ELS tm/TM-CFG \ + tm/tm-def.el \ tm/tm-eword.el tm/tm-ew-d.el tm/tm-ew-e.el \ tm/tm-view.el tm/tm-parse.el \ - tm/tm-rich.el tm/tm-image.el \ + tm/tm-text.el tm/tm-image.el \ tm/tm-play.el tm/tm-partial.el tm/tm-pgp.el \ tm/tm-ftp.el tm/tm-latex.el tm/tm-html.el tm/tm-file.el \ tm/tm-tar.el \ tm/tm-bbdb.el \ tm/tm-edit.el tm/signature.el \ - tm/tm-setup.el tm/mime-setup.el \ + tm/tm-setup.el tm/mime-setup.el.in \ tm/sc-setup.el \ tm/methods/tm* tm/methods/ChangeLog \ tm/src/*.c \ @@ -30,84 +37,28 @@ TM_FILES = tm/README.en tm/ChangeLog \ TM_MUA_FILES = tm/tm-rmail.el tm/tm-vm.el tm/tm-mail.el \ tm/gnus/Makefile tm/gnus/*-path tm/gnus/mk-tgnus \ tm/gnus/*.el tm/gnus/ChangeLog \ - tm/mh-e/Makefile tm/mh-e/mk-tmh tm/mh-e/code-jp.ol \ - tm/mh-e/*.el tm/mh-e/ChangeLog + tm/mh-e/Makefile tm/mh-e/mk-tmh tm/mh-e/tmh-els \ + tm/mh-e/code-jp.ol tm/mh-e/*.el tm/mh-e/ChangeLog -MEL_FILES = mel/*.el mel/Makefile mel/mk-mel mel/ChangeLog +MEL_FILES = mel/*.el mel/Makefile mel/mk-mel mel/mel-els mel/ChangeLog -TL_FILES = tl/README.en tl/Makefile tl/mk-tl tl/*.el tl/doc/*.texi \ - tl/ChangeLog +TL_FILES = tl/README.en tl/Makefile tl/mk-tl tl/tl-els \ + tl/*.el tl/*.bdf \ + tl/doc/*.ol tl/doc/*.tex tl/ChangeLog FILES = $(TM_FILES) $(TM_MUA_FILES) $(MEL_FILES) $(TL_FILES) -TARFILE = tm7.44.1.tar.gz - - -18: - cd ../tl; PWD=`pwd` $(MAKE) elc EMACS=$(EMACS18) - cd ../mel; PWD=`pwd` $(MAKE) elc EMACS=$(EMACS18) - $(EMACS18) $(FLAGS) -f compile-tm - 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) - -install-18: 18 - cd ../tl; PWD=`pwd` \ - $(MAKE) install-18 EMACS=$(EMACS18) TLDIR18=$(TLDIR18) - cd ../mel; PWD=`pwd` \ - $(MAKE) install-18 EMACS=$(EMACS18) MELDIR18=$(MELDIR18) - $(EMACS18) $(FLAGS) -f install-tm $(TMDIR18) - cd gnus; PWD=`pwd` \ - $(MAKE) install-18 EMACS=$(EMACS18) TMDIR18=$(TM_GNUS_DIR18) - cd mh-e; PWD=`pwd` \ - $(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) - $(XEMACS) $(FLAGS) -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) - -install-xemacs: xemacs - cd ../tl; PWD=`pwd` \ - $(MAKE) install-19 EMACS=$(XEMACS) TLDIR19=$(TLDIR19) - cd ../mel; PWD=`pwd` \ - $(MAKE) install-19 EMACS=$(XEMACS) MELDIR19=$(MELDIR19) - $(XEMACS) $(FLAGS) -f install-tm $(TMDIR19) - cd gnus; PWD=`pwd` \ - $(MAKE) install-19 EMACS=$(XEMACS) TMDIR19=$(TM_GNUS_DIR19) - cd mh-e; PWD=`pwd` \ - $(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) - $(EMACS19_29) $(FLAGS) -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) - -install-19_29: 19_29 - cd ../tl; PWD=`pwd` \ - $(MAKE) install-19 EMACS=$(EMACS19_29) TLDIR19=$(TLDIR19_29) - cd ../mel; PWD=`pwd` \ - $(MAKE) install-19 EMACS=$(EMACS19_29) MELDIR19=$(MELDIR19_29) - $(EMACS19_29) $(FLAGS) -f install-tm $(TMDIR19_29) - cd gnus; PWD=`pwd` \ - $(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) - - -all: $(UTILS) $(DVI) +TARFILE = tm7.67.tar.gz + +elc: + $(EMACS) $(FLAGS) -l inst-tm -f compile-tm + $(SHELL) .gnus-compile + +install-elc: elc + $(EMACS) $(FLAGS) -l inst-tm -f install-tm + + +all: $(UTILS) $(DVI) elc src/ol2: src/ol2.c $(CC) $(CFLAGS) src/ol2.c -o src/ol2 @@ -126,9 +77,8 @@ ps: ol2 cd doc; $(MAKE) ps -install: $(UTILS) methods - $(CP) $(UTILS) $(bindir) - $(CP) methods/tm* $(bindir) +install: $(UTILS) methods install-elc + $(EMACS) $(FLAGS) -l inst-tm -f install-execs clean: