[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 09/16] build: no more recursion for lib/autoconf subdir
From: |
Stefano Lattarini |
Subject: |
[PATCH 09/16] build: no more recursion for lib/autoconf subdir |
Date: |
Sun, 5 May 2013 23:29:06 +0200 |
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
- [RFC] Convert the Autoconf build system to non-recursive make, Stefano Lattarini, 2013/05/05
- [PATCH 02/16] build: don't distribute lib/freeze.mk explicitly, Stefano Lattarini, 2013/05/05
- [PATCH 03/16] build: no more make recursion for 'doc' subdir, Stefano Lattarini, 2013/05/05
- [PATCH 01/16] sync: some files from upstream, Stefano Lattarini, 2013/05/05
- [PATCH 05/16] build: no more recursion for lib/emacs subdir, Stefano Lattarini, 2013/05/05
- [PATCH 04/16] build: no more make recursion for 'bin' subdir, Stefano Lattarini, 2013/05/05
- [PATCH 06/16] build: no more recursion for lib/autoscan subdir, Stefano Lattarini, 2013/05/05
- [PATCH 07/16] build: no more recursion for lib/autotest subdir, Stefano Lattarini, 2013/05/05
- [PATCH 08/16] build: no more recursion for lib/m4sugar subdir, Stefano Lattarini, 2013/05/05
- [PATCH 09/16] build: no more recursion for lib/autoconf subdir,
Stefano Lattarini <=
- [PATCH 10/16] build: no more recursion for lib/Autom4te subdir, Stefano Lattarini, 2013/05/05
- [PATCH 11/16] build: define RELEASE_YEAR with AC_SUBST, Stefano Lattarini, 2013/05/05
- [PATCH 13/16] build: avoid repeating the same etags args several times, Stefano Lattarini, 2013/05/05
- [PATCH 14/16] build: fixup: don't define ETAGS_ARGS multiple times, Stefano Lattarini, 2013/05/05
- [PATCH 12/16] build: no more recursion for lib subdir, Stefano Lattarini, 2013/05/05
- [PATCH 16/16] build: remove last make recursion (for subdir 'man'), Stefano Lattarini, 2013/05/05
- [PATCH 15/16] build: no more recursion for tests subdir, Stefano Lattarini, 2013/05/05
- Re: [RFC] Convert the Autoconf build system to non-recursive make, Paul Eggert, 2013/05/05