]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
authorAkim Demaille <akim@epita.fr>
Fri, 31 Aug 2001 13:36:31 +0000 (13:36 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 31 Aug 2001 13:36:31 +0000 (13:36 +0000)
ChangeLog
lib/Makefile.am
lib/Makefile.in

index 3101cc6d0ac2d9eefe09f05baf4ae655571e8c4c..fea7e8754267f2a2dc20b5485c58de0d53f01ee8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-08-31  Akim Demaille  <akim@epita.fr>
+
+       * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
+
 2001-08-31  Akim Demaille  <akim@epita.fr>
 
        * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
index def354b982eae07311f2bf4f9dbfe1616a565c79..50a110f8529f1ba386985d42476c3c1491e5f753 100644 (file)
@@ -21,7 +21,7 @@ edit = sed \
 # All the files below depend on configure.ac so that they are rebuilt
 # when the Autoconf version 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
        rm -f autom4te.cfg autom4te.tmp
        $(edit) $(srcdir)/autom4te.in >autom4te.tmp
index 6a270b33720efdd8981c30cd582dedbc29320ec0..0756481b53e7a2dee20c18a98e02d9f3032cde9e 100644 (file)
@@ -82,6 +82,11 @@ edit = sed \
        -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
+# cannot have additional dependencies, so we have to use explicit rules.
+CLEANFILES = autom4te.cfg
 subdir = lib
 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
 CONFIG_CLEAN_FILES =
@@ -273,6 +278,7 @@ install-strip:
 mostlyclean-generic:
 
 clean-generic:
+       -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
 distclean-generic:
        -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
@@ -333,11 +339,6 @@ uninstall-info: uninstall-info-recursive
        uninstall-am uninstall-info-am uninstall-info-recursive \
        uninstall-nodist_pkgdataDATA uninstall-recursive
 
-
-# All the files below depend on configure.ac so that they are rebuilt
-# when the Autoconf version changes. Unfortunately, suffix rules
-# cannot have additional dependencies, so we have to use explicit rules.
-
 autom4te.cfg: $(top_srcdir)/configure.ac $(srcdir)/autom4te.in
        rm -f autom4te.cfg autom4te.tmp
        $(edit) $(srcdir)/autom4te.in >autom4te.tmp