summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2010-02-17 11:02:54 +0000
committerNick Clifton <nickc@redhat.com>2010-02-17 11:02:54 +0000
commitc4889b234155f454d98cae5293d81877d92cef1e (patch)
tree0c52b074fd7303c93688b001def7031b51a48386
parent749f4f74be0617d62400f190e6774f0a383e8232 (diff)
downloadcygnal-c4889b234155f454d98cae5293d81877d92cef1e.tar.gz
cygnal-c4889b234155f454d98cae5293d81877d92cef1e.tar.bz2
cygnal-c4889b234155f454d98cae5293d81877d92cef1e.zip
* Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete
the config.cache files found by the find command.
-rw-r--r--ChangeLog3
-rw-r--r--Makefile.tpl2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d319b1167..eed51232a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,9 @@
* Makefile.tpl (local-distclean): Also remove config.cache files in
sub-directories as there may not be Makefiles present in the
sub-directories.
+ * Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete
+ the config.cache files found by the find command.
+
* Makefile.in: Regenerate.
* configure.ac: Revert previous delta.
* configure: Regenerate.
diff --git a/Makefile.tpl b/Makefile.tpl
index 37317bcaf..98b526c5a 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -771,7 +771,7 @@ local-distclean:
-rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
-rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
-rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
- -find . -name config.cache -delete \; 2>/dev/null
+ -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
local-maintainer-clean:
@echo "This command is intended for maintainers to use;"