autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 05/17] build: no more recursion for 'lib/emacs' subdir


From: Stefano Lattarini
Subject: [PATCH v2 05/17] build: no more recursion for 'lib/emacs' subdir
Date: Mon, 6 May 2013 15:21:12 +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 <address@hidden>
---
 configure.ac          |  1 -
 lib/Makefile.am       | 10 +++++++++-
 lib/emacs/Makefile.am |  3 ---
 3 files changed, 9 insertions(+), 5 deletions(-)
 delete mode 100644 lib/emacs/Makefile.am

diff --git a/configure.ac b/configure.ac
index 1fc00ae..c6aa0c7 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 df1dc9a..23128bb 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 <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
index aa62207..0000000
--- a/lib/emacs/Makefile.am
+++ /dev/null
@@ -1,3 +0,0 @@
-# Make Autoconf Emacs library.
-
-dist_lisp_LISP = autoconf-mode.el autotest-mode.el
-- 
1.8.3.rc0.19.g7e6a0cc




reply via email to

[Prev in Thread] Current Thread [Next in Thread]