From 9b8db2002ce245aa82c2da4846b2f1e4c754d977 Mon Sep 17 00:00:00 2001 From: morioka Date: Fri, 11 Sep 1998 23:42:59 +0000 Subject: [PATCH] Abolish variable `SHELL', `MAKE', `CC' and `CFLAGS'. (XEMACS): New variable. (FLAGS): Add `-l SEMI-MK'. (PACKAGEDIR): New variable. (elc): Delete `-l SEMI-MK'. (install-elc): Delete `-l SEMI-MK'. Abolish target `all', `tex', `dvi' and `ps'. (package): New target. (install-package): New target. (clean): Delete historical setting. --- Makefile | 41 ++++++++++++++--------------------------- 1 file changed, 14 insertions(+), 27 deletions(-) diff --git a/Makefile b/Makefile index cb8aca5..05543a1 100644 --- a/Makefile +++ b/Makefile @@ -5,55 +5,42 @@ PACKAGE = semi VERSION = 1.8.5 -SHELL = /bin/sh -MAKE = make -CC = gcc -CFLAGS = -O2 TAR = tar RM = /bin/rm -f CP = /bin/cp -p -EMACS = emacs -GOMI = *.elc -FLAGS = -batch -q -no-site-file +EMACS = emacs +XEMACS = xemacs +FLAGS = -batch -q -no-site-file -l SEMI-MK PREFIX = NONE EXEC_PREFIX = NONE LISPDIR = NONE +PACKAGEDIR = NONE + +GOMI = *.elc + elc: - $(EMACS) $(FLAGS) -l SEMI-MK -f compile-semi \ + $(EMACS) $(FLAGS) -f compile-semi \ $(PREFIX) $(EXEC_PREFIX) $(LISPDIR) install-elc: elc - $(EMACS) $(FLAGS) -l SEMI-MK -f install-semi \ + $(EMACS) $(FLAGS) -f install-semi \ $(PREFIX) $(EXEC_PREFIX) $(LISPDIR) - -all: $(UTILS) $(DVI) elc - -tex: ol2 - cd doc; $(MAKE) tex - -dvi: ol2 - cd doc; $(MAKE) dvi - -ps: ol2 - cd doc; $(MAKE) ps +install: install-elc -install: install-elc +package: + $(XEMACS) $(FLAGS) -f compile-semi-package $(PACKAGEDIR) -update-xemacs: - $(EMACS) $(FLAGS) -l SEMI-MK -f update-xemacs-source +install-package: package + $(XEMACS) $(FLAGS) -f install-semi-package $(PACKAGEDIR) clean: -$(RM) $(GOMI) - -cd doc && $(MAKE) clean - -cd gnus && $(MAKE) clean - -cd mh-e && $(MAKE) clean - cd ../mel && $(MAKE) clean tar: -- 1.7.10.4