From: Stefano Lattarini Date: Sun, 5 May 2013 14:53:54 +0000 (+0200) Subject: build: no more recursion for 'lib/emacs' subdir X-Git-Tag: v2.69b~149 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e7ac8501f51621caaab87e18c654dead18585c1;p=thirdparty%2Fautoconf.git build: no more recursion for 'lib/emacs' subdir * lib/emacs/Makefile.am: Delete, its contents merged ... * lib/Makefile.am: ... in here, with proper adjustments. (SUBDIRS): Drop 'emacs'. * configure.ac (AC_CONFIG_FILES): Drop 'lib/emacs/Makefile'. Signed-off-by: Stefano Lattarini --- diff --git a/configure.ac b/configure.ac index 1fc00ae4..c6aa0c78 100644 --- a/configure.ac +++ b/configure.ac @@ -158,7 +158,6 @@ AC_SUBST([PERL_FLOCK], [$ac_cv_perl_flock_implemented]) ## Emacs. ## ## ------- ## -AC_CONFIG_FILES([lib/emacs/Makefile]) TEST_EMACS=$EMACS test x"$TEST_EMACS" = xt && TEST_EMACS= AC_CHECK_PROGS([TEST_EMACS], [emacs xemacs], [no]) diff --git a/lib/Makefile.am b/lib/Makefile.am index df1dc9a3..23128bb7 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -SUBDIRS = Autom4te m4sugar autoconf autotest autoscan emacs +SUBDIRS = Autom4te m4sugar autoconf autotest autoscan nodist_pkgdata_DATA = autom4te.cfg EXTRA_DIST = autom4te.in @@ -42,3 +42,11 @@ autom4te.cfg: $(srcdir)/autom4te.in Makefile $(edit) $(srcdir)/autom4te.in >autom4te.tmp chmod a-w autom4te.tmp mv autom4te.tmp autom4te.cfg + +# Make Autoconf Emacs library. +dist_lisp_LISP = emacs/autoconf-mode.el emacs/autotest-mode.el + +# TODO: This is required to work around a limitation in older +# Automake. Remove once we can assume Automake 1.13 or later. +CLEANFILES += autoconf-mode.elc autotest-mode.elc + diff --git a/lib/emacs/Makefile.am b/lib/emacs/Makefile.am deleted file mode 100644 index aa622070..00000000 --- a/lib/emacs/Makefile.am +++ /dev/null @@ -1,3 +0,0 @@ -# Make Autoconf Emacs library. - -dist_lisp_LISP = autoconf-mode.el autotest-mode.el