From: ueno Date: Fri, 7 May 2004 22:15:40 +0000 (+0000) Subject: * configure.ac: Set AM_CONDITIONAL XEMACS. X-Git-Tag: riece-1_0_0~58 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=f9091116da8c7febee8e0cc5c65127710ba0ad3d;p=elisp%2Friece.git * configure.ac: Set AM_CONDITIONAL XEMACS. * Makefile.am: Emit install-package and package target only if EMACS_FLAVOR = xemacs. --- 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)