Depend on Makefile since it contains substitutions.
From Paolo Bonzini.
* lib/autom4te.in (args): Add local.at? for Autotest args.
This change was made on autom4te.cfg which is generated.
Reported by Raja R. Harinath.
+2003-06-25 Akim Demaille <akim@epita.fr>
+
+ * lib/Makefile.am (autom4te.cfg): Make it read only.
+ Depend on Makefile since it contains substitutions.
+ From Paolo Bonzini.
+ * lib/autom4te.in (args): Add local.at? for Autotest args.
+ This change was made on autom4te.cfg which is generated.
+ Reported by Raja R. Harinath.
+
2003-06-25 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Header Portability): sys/mount.h.
-e 's,@VERSION\@,$(VERSION),g' \
-e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g'
-# All the files below depend on configure.ac so that they are rebuilt
-# when the Autoconf version changes. Unfortunately, suffix rules
+# All the files below depend on Makefile so that they are rebuilt
+# when the prefix, etc. changes. Unfortunately, suffix rules
# cannot have additional dependencies, so we have to use explicit rules.
CLEANFILES = autom4te.cfg
-autom4te.cfg: $(top_srcdir)/configure.ac $(srcdir)/autom4te.in
+autom4te.cfg: $(srcdir)/autom4te.in Makefile
rm -f autom4te.cfg autom4te.tmp
$(edit) $(srcdir)/autom4te.in >autom4te.tmp
+ chmod -w autom4te.tmp
mv autom4te.tmp autom4te.cfg
-e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g'
-# All the files below depend on configure.ac so that they are rebuilt
-# when the Autoconf version changes. Unfortunately, suffix rules
+# All the files below depend on Makefile so that they are rebuilt
+# when the prefix, etc. changes. Unfortunately, suffix rules
# cannot have additional dependencies, so we have to use explicit rules.
CLEANFILES = autom4te.cfg
all: all-recursive
uninstall-info-recursive uninstall-nodist_pkgdataDATA \
uninstall-recursive
-autom4te.cfg: $(top_srcdir)/configure.ac $(srcdir)/autom4te.in
+autom4te.cfg: $(srcdir)/autom4te.in Makefile
rm -f autom4te.cfg autom4te.tmp
$(edit) $(srcdir)/autom4te.in >autom4te.tmp
+ chmod -w autom4te.tmp
mv autom4te.tmp autom4te.cfg
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
# Definition of Autom4te option sets. -*- Makefile -*-
#
-# Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
#
# This file is part of GNU Autoconf.
#
args: --prepend-include @datadir@
args: autotest/autotest.m4f
args: package.m4?
+args: local.at?
args: --mode 777
args: --language M4sh
end-language: "Autotest"