]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* lib/am/clean.am (distclean-generic): Do no
authorAlexandre Duret-Lutz <adl@gnu.org>
Thu, 3 Jun 2004 20:19:27 +0000 (20:19 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Thu, 3 Jun 2004 20:19:27 +0000 (20:19 +0000)
`rm -f $(CONFIG_CLEAN_FILES)' if `$(CONFIG_CLEAN_FILES)' is empty.
Report from Nicolas Joly.

ChangeLog
Makefile.in
doc/Makefile.in
lib/Automake/Makefile.in
lib/Automake/tests/Makefile.in
lib/Makefile.in
lib/am/Makefile.in
lib/am/clean.am
m4/Makefile.in
tests/Makefile.in

index d28de58a1fbea1e462fd681e522e9c3769090822..8759f2b22b230f428850a2a0befc95daece6c893 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-06-03  Alexandre Duret-Lutz  <adl@gnu.org>
+
+       * lib/am/clean.am (distclean-generic): Do no
+       `rm -f $(CONFIG_CLEAN_FILES)' if `$(CONFIG_CLEAN_FILES)' is empty.
+       Report from Nicolas Joly.
+
 2004-05-31  Alexandre Duret-Lutz  <adl@gnu.org>
 
        * NEWS: Make clearer that we do not output partial Makefile.ins on
index 648ec075fe7af4ef7b94f868dbb6ada69b3fed11..496a060952ec54ebc193e0f51694e6c2ea9f8a09 100644 (file)
@@ -524,7 +524,7 @@ clean-generic:
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
 distclean-generic:
-       -rm -f $(CONFIG_CLEAN_FILES)
+       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
index 7f906cf35322b01ba189355e20c6181aa94fd9b3..b736bd87156b61f03e3e4ef30b376f28534ef0b8 100644 (file)
@@ -394,7 +394,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-       -rm -f $(CONFIG_CLEAN_FILES)
+       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
index 0235897a0e019f5ed43e318f6102e60cc0e0d398..68e91e263b1ad178888c404014988bc2f3bcefa8 100644 (file)
@@ -433,7 +433,7 @@ clean-generic:
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
 distclean-generic:
-       -rm -f $(CONFIG_CLEAN_FILES)
+       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
index 6b96a87f4881fee4910df87570536758b0722340..b378986317cfdf3949130ef8db5f1138f7a82fd6 100644 (file)
@@ -289,7 +289,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-       -rm -f $(CONFIG_CLEAN_FILES)
+       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
index 82c25fb9c875a200dc329b5646dff10751e6d87f..e52e846f7102402a51d3753d195323cf7007ad15 100644 (file)
@@ -408,7 +408,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-       -rm -f $(CONFIG_CLEAN_FILES)
+       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
index 39e20c6c47669a9d47319032848408c1c1d5aca4..931b3d402bb7e453e769ba22e13cf5da03d01cda 100644 (file)
@@ -280,7 +280,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-       -rm -f $(CONFIG_CLEAN_FILES)
+       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
index 04f90c9b52b5c65572b70c1b992f29b37ee7e761..6d650d962977e1e34c114b61c517c5969570ae02 100644 (file)
@@ -1,5 +1,5 @@
 ## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1998, 1999, 2001, 2003
+## Copyright (C) 1994, 1995, 1996, 1998, 1999, 2001, 2003, 2004
 ## Free Software Foundation, Inc.
 
 ## This program is free software; you can redistribute it and/or modify
@@ -30,7 +30,7 @@ clean-generic:
 
 distclean-am: distclean-generic clean-am
 distclean-generic:
-       -rm -f $(CONFIG_CLEAN_FILES)
+       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 %DISTCLEAN_RMS%
 
 ## Makefiles and their dependencies cannot be cleaned by
index 517c6ca760658d82fedf0c3c3519fa6d12341180..864279215629807a93e53f489da9c75b359969b8 100644 (file)
@@ -275,7 +275,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-       -rm -f $(CONFIG_CLEAN_FILES)
+       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
index e4362099a20ee6aa0791dea74744a5b99c69b25b..7e6931c98fc07208686e64eb57507be272c35368 100644 (file)
@@ -842,7 +842,7 @@ mostlyclean-generic:
 clean-generic:
 
 distclean-generic:
-       -rm -f $(CONFIG_CLEAN_FILES)
+       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
 maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"