changeset 78174:bdf21e617693

(clean): Don't delete *~.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 20 Jul 2007 19:42:13 +0000
parents 2148010804ba
children 90daec7a785b
files src/makefile.w32-in
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/makefile.w32-in	Fri Jul 20 19:32:26 2007 +0000
+++ b/src/makefile.w32-in	Fri Jul 20 19:42:13 2007 +0000
@@ -247,8 +247,10 @@
 #
 # Maintenance
 #
+# We used to delete *~, s/*~, m/*~ here, but that might inadvertently
+# remove precious files if it happens to match their short 8+3 aliases.
 clean:
-	- $(DEL) *~ "s/*~" "m/*~"
+	- $(DEL) "s/*.h~" "m/*.h~"
 	- $(DEL) $(COMPILER_TEMP_FILES)
 	- $(DEL_TREE) $(OBJDIR)
 	- $(DEL) stamp_BLD