From 4ba4002368b9e29b1bfd623590c0743e6a7ad548 Mon Sep 17 00:00:00 2001 From: morioka Date: Fri, 11 Sep 1998 09:29:35 +0000 Subject: [PATCH] (XEMACS): New variable. (PACKAGEDIR): New variable. (package): New target. (install-package): New target. --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Makefile b/Makefile index f77aab8..44dde99 100644 --- a/Makefile +++ b/Makefile @@ -10,10 +10,12 @@ RM = /bin/rm -f CP = /bin/cp -p EMACS = emacs +XEMACS = xemacs FLAGS = -batch -q -no-site-file -l FLIM-MK PREFIX = NONE LISPDIR = NONE +PACKAGEDIR = NONE GOMI = *.elc \ *.cp *.cps *.ky *.kys *.fn *.fns *.vr *.vrs \ @@ -27,6 +29,18 @@ elc: install: elc $(EMACS) $(FLAGS) -f install-flim $(PREFIX) $(LISPDIR) + +package: + $(XEMACS) -batch -q -no-site-file \ + -eval '(setq autoload-package-name "flim")' \ + -l autoload -f batch-update-directory . + $(XEMACS) -batch -q -no-site-file \ + -l cus-dep -f Custom-make-dependencies . + $(XEMACS) $(FLAGS) -f compile-flim-package $(PACKAGEDIR) + +install-package: package + $(XEMACS) $(FLAGS) -f install-flim-package $(PACKAGEDIR) + clean: -$(RM) $(GOMI) -- 1.7.10.4