forbidden_patterns = -e '^_*EOF' -e ' cmp '
forbidden_patterns_files = # Incrementally updated later.
-SUBDIRS = Autom4te autoconf
+SUBDIRS = Autom4te
## ------------------------------------------ ##
## Make Autom4te default configuration file. ##
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
+++ /dev/null
-# 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