From f9091116da8c7febee8e0cc5c65127710ba0ad3d Mon Sep 17 00:00:00 2001 From: ueno Date: Fri, 7 May 2004 22:15:40 +0000 Subject: [PATCH] * configure.ac: Set AM_CONDITIONAL XEMACS. * Makefile.am: Emit install-package and package target only if EMACS_FLAVOR = xemacs. --- ChangeLog | 6 ++++++ Makefile.am | 2 ++ configure.ac | 2 ++ 3 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 405d290..4aa9c38 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-05-07 Daiki Ueno + + * configure.ac: Set AM_CONDITIONAL XEMACS. + * Makefile.am: Emit install-package and package target only if + EMACS_FLAVOR = xemacs. + 2004-05-04 Daiki Ueno * Riece: Version 0.2.2 released. diff --git a/Makefile.am b/Makefile.am index e7a158d..c003efd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 diff --git a/configure.ac b/configure.ac index ae9102c..e3efb11 100644 --- a/configure.ac +++ b/configure.ac @@ -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) -- 1.7.10.4