* configure.ac: Set AM_CONDITIONAL XEMACS.
authorueno <ueno>
Fri, 7 May 2004 22:15:40 +0000 (22:15 +0000)
committerueno <ueno>
Fri, 7 May 2004 22:15:40 +0000 (22:15 +0000)
* Makefile.am: Emit install-package and package target only if
EMACS_FLAVOR = xemacs.

ChangeLog
Makefile.am
configure.ac

index 405d290..4aa9c38 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-05-07  Daiki Ueno  <ueno@unixuser.org>
+
+       * configure.ac: Set AM_CONDITIONAL XEMACS.
+       * Makefile.am: Emit install-package and package target only if
+       EMACS_FLAVOR = xemacs.
+
 2004-05-04  Daiki Ueno  <ueno@unixuser.org>
 
        * Riece: Version 0.2.2 released.
index e7a158d..c003efd 100644 (file)
@@ -2,7 +2,9 @@ SUBDIRS = lisp doc
 EXTRA_DIST = INSTALL-CVS
 AUTOMAKE_OPTIONS = no-dependencies
 
+if XEMACS
 install-package package:
        list='$(SUBDIRS)'; for subdir in $$list; do \
          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@) \
        done
+endif
index ae9102c..e3efb11 100644 (file)
@@ -10,6 +10,8 @@ AC_CHECK_EMACS
 AC_PATH_LISPDIR
 AC_PATH_PACKAGEDIR
 
+AM_CONDITIONAL(XEMACS, test ${EMACS_FLAVOR} = xemacs)
+
 AC_OUTPUT(Makefile \
 lisp/Makefile
 doc/Makefile)