]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
build: no more recursion for 'lib/emacs' subdir
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 5 May 2013 14:53:54 +0000 (16:53 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 6 May 2013 10:22:17 +0000 (12:22 +0200)
* 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 <stefano.lattarini@gmail.com>
configure.ac
lib/Makefile.am
lib/emacs/Makefile.am [deleted file]

index 1fc00ae4618a32c1596e71f8490eec58bd7172c8..c6aa0c7867a692bd453c2e26086d115e91e409ea 100644 (file)
@@ -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])
index df1dc9a3b25ab0a4baff8603a37bb0879a8db21f..23128bb7d2beffa86d966a35c613ed8c406eda3d 100644 (file)
@@ -15,7 +15,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-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 (file)
index aa62207..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# Make Autoconf Emacs library.
-
-dist_lisp_LISP = autoconf-mode.el autotest-mode.el