(XEMACS): New variable.
authormorioka <morioka>
Sun, 13 Sep 1998 05:56:41 +0000 (05:56 +0000)
committermorioka <morioka>
Sun, 13 Sep 1998 05:56:41 +0000 (05:56 +0000)
(PACKAGEDIR): New variable.
(package): New target.
(install-package): New target.

Makefile

index 9d2fb14..e95cdb3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,10 +9,12 @@ RM    = /bin/rm -f
 CP     = /bin/cp -p
 
 EMACS  = emacs
+XEMACS = xemacs
 FLAGS   = -batch -q -no-site-file -l APEL-MK
 
 PREFIX = NONE
 LISPDIR = NONE
+PACKAGEDIR = NONE
 
 
 elc:
@@ -23,6 +25,13 @@ install:
        $(EMACS) $(FLAGS) -f install-apel $(PREFIX) $(LISPDIR)
 
 
+package:
+       $(XEMACS) $(FLAGS) -f compile-apel-package $(PACKAGEDIR)
+
+install-package:       package
+       $(XEMACS) $(FLAGS) -f install-apel-package $(PACKAGEDIR)
+
+
 clean:
        -rm *.elc