[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 09/17] build: no more recursion for' lib/autoconf' subdir
From: |
Stefano Lattarini |
Subject: |
[PATCH v2 09/17] build: no more recursion for' lib/autoconf' subdir |
Date: |
Mon, 6 May 2013 15:21:16 +0200 |
* lib/autoconf/Makefile.am: Delete, its contents merged ...
* lib/Makefile.am: ... in here, with proper adjustments.
(SUBDIRS): Drop 'autoconf'.
* configure.ac (AC_CONFIG_FILES): Drop 'lib/autoconf/Makefile'.
Signed-off-by: Stefano Lattarini <address@hidden>
---
configure.ac | 1 -
lib/Makefile.am | 41 ++++++++++++++++++++++++++++++++++--
lib/autoconf/Makefile.am | 54 ------------------------------------------------
3 files changed, 39 insertions(+), 57 deletions(-)
delete mode 100644 lib/autoconf/Makefile.am
diff --git a/configure.ac b/configure.ac
index 79ff609..f045af9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -208,7 +208,6 @@ AC_CONFIG_LINKS([GNUmakefile:GNUmakefile])
AC_CONFIG_FILES([Makefile
lib/Makefile lib/Autom4te/Makefile
- lib/autoconf/Makefile
])
AC_OUTPUT
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 832693a..5dedc67 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -27,7 +27,7 @@ check-local: check-forbidden-patterns
forbidden_patterns = -e '^_*EOF' -e ' cmp '
forbidden_patterns_files = # Incrementally updated later.
-SUBDIRS = Autom4te autoconf
+SUBDIRS = Autom4te
## ------------------------------------------ ##
## Make Autom4te default configuration file. ##
@@ -71,9 +71,46 @@ dist_lisp_LISP = emacs/autoconf-mode.el
emacs/autotest-mode.el
CLEANFILES += autoconf-mode.elc autotest-mode.elc
## ----------------------- ##
-## Make Autoscan library. ##
+## Make Autoconf library. ##
## ----------------------- ##
+autoconflibdir = $(pkgdatadir)/autoconf
+
+dist_autoconflib_DATA = \
+ autoconf/autoconf.m4 \
+ autoconf/general.m4 \
+ autoconf/status.m4 \
+ autoconf/oldnames.m4 \
+ autoconf/specific.m4 \
+ autoconf/autoheader.m4 \
+ autoconf/autoupdate.m4 \
+ autoconf/autotest.m4 \
+ autoconf/autoscan.m4 \
+ autoconf/lang.m4 \
+ autoconf/c.m4 \
+ autoconf/erlang.m4 \
+ autoconf/fortran.m4 \
+ autoconf/functions.m4 \
+ autoconf/go.m4 \
+ autoconf/headers.m4 \
+ autoconf/types.m4 \
+ autoconf/libs.m4 \
+ autoconf/programs.m4
+
+nodist_autoconflib_DATA = autoconf/autoconf.m4f
+CLEANFILES += $(nodist_autoconflib_DATA)
+
+TAGS_FILES += $(dist_autoconflib_DATA)
+ETAGS_ARGS += $(ETAGS_FOR_AUTOCONF)
+
+forbidden_patterns_files += $(dist_autoconflib_DATA)
+
+autoconf/autoconf.m4f: $(autoconf_m4f_dependencies)
+
+## ------------------------ ##
+## Make Autoscan library. ##
+## ------------------------ ##
+
autoscanlibdir = $(pkgdatadir)/autoscan
EXTRA_DIST += autoscan/autoscan.pre
diff --git a/lib/autoconf/Makefile.am b/lib/autoconf/Makefile.am
deleted file mode 100644
index a6ec393..0000000
--- a/lib/autoconf/Makefile.am
+++ /dev/null
@@ -1,54 +0,0 @@
-# Make Autoconf library.
-
-# Copyright (C) 2001-2002, 2006, 2009-2013 Free Software Foundation,
-# Inc.
-
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-autoconflibdir = $(pkgdatadir)/autoconf
-dist_autoconflib_DATA = \
- autoconf.m4 \
- general.m4 status.m4 oldnames.m4 specific.m4 \
- autoheader.m4 autoupdate.m4 autotest.m4 autoscan.m4 \
- lang.m4 c.m4 erlang.m4 fortran.m4 \
- functions.m4 go.m4 headers.m4 types.m4 libs.m4 programs.m4
-
-nodist_autoconflib_DATA = autoconf.m4f
-CLEANFILES = $(nodist_autoconflib_DATA)
-
-
-## --------------- ##
-## Building TAGS. ##
-## --------------- ##
-
-TAGS_FILES = $(dist_autoconflib_DATA)
-
-ETAGS_ARGS = $(ETAGS_FOR_AUTOCONF)
-
-
-## -------- ##
-## Checks. ##
-## -------- ##
-
-check-local: check-forbidden-patterns
-forbidden_patterns = -e '^_*EOF' -e ' cmp '
-forbidden_patterns_files = $(dist_autoconflib_DATA)
-
-
-## ------------------ ##
-## The frozen files. ##
-## ------------------ ##
-
-autoconf.m4f: $(autoconf_m4f_dependencies)
-include ../freeze.mk
--
1.8.3.rc0.19.g7e6a0cc
- Re: [RFC] Convert the Autoconf build system to non-recursive make, (continued)
- Re: [RFC] Convert the Autoconf build system to non-recursive make, Paul Eggert, 2013/05/05
- Re: [RFC] Convert the Autoconf build system to non-recursive make, Stefano Lattarini, 2013/05/06
- [PATCH v2 00/17] Convert the autoconf build system to non-recursive make, Stefano Lattarini, 2013/05/06
- [PATCH v2 02/17] build: don't distribute lib/freeze.mk explicitly, Stefano Lattarini, 2013/05/06
- [PATCH v2 01/17] sync: some files from upstream, Stefano Lattarini, 2013/05/06
- [PATCH v2 05/17] build: no more recursion for 'lib/emacs' subdir, Stefano Lattarini, 2013/05/06
- [PATCH v2 04/17] build: no more make recursion for 'bin' subdir, Stefano Lattarini, 2013/05/06
- [PATCH v2 03/17] build: no more make recursion for 'doc' subdir, Stefano Lattarini, 2013/05/06
- [PATCH v2 06/17] build: no more recursion for 'lib/autoscan' subdir, Stefano Lattarini, 2013/05/06
- [PATCH v2 07/17] build: no more recursion for 'lib/autotest' subdir, Stefano Lattarini, 2013/05/06
- [PATCH v2 09/17] build: no more recursion for' lib/autoconf' subdir,
Stefano Lattarini <=
- [PATCH v2 10/17] build: no more recursion for 'lib/Autom4te' subdir, Stefano Lattarini, 2013/05/06
- [PATCH v2 08/17] build: no more recursion for 'lib/m4sugar' subdir, Stefano Lattarini, 2013/05/06
- [PATCH v2 11/17] build: define RELEASE_YEAR with AC_SUBST, Stefano Lattarini, 2013/05/06
- [PATCH v2 13/17] build: avoid repeating the same etags args several times, Stefano Lattarini, 2013/05/06
- [PATCH v2 12/17] build: no more recursion for lib 'subdir', Stefano Lattarini, 2013/05/06
- [PATCH v2 14/17] build: fixup: don't define ETAGS_ARGS multiple times, Stefano Lattarini, 2013/05/06
- [PATCH v2 15/17] build: no more recursion for 'tests' subdir, Stefano Lattarini, 2013/05/06
- [PATCH v2 16/17] build: remove last make recursion (for subdir 'man'), Stefano Lattarini, 2013/05/06
- [PATCH v2 17/17] build: remove refs to obsolescent 'mkinstalldir' script and variable, Stefano Lattarini, 2013/05/06
- Re: [PATCH v2 00/17] Convert the autoconf build system to non-recursive make, Paul Eggert, 2013/05/06