aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2007-07-20 19:43:01 +0000
committerEli Zaretskii <[email protected]>2007-07-20 19:43:01 +0000
commitb395d6e1f58998d74af97f78b09518f16ed40c20 (patch)
treea9bd50717241ba7d6c084d0322a4521c020fc77b /src
parentf37b8e41a1e0b9bbd5a8f553ec8b981a9bb2a48c (diff)
(clean): Don't delete *~.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/makefile.w32-in4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a9303a47d6..008234b559 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
2007-07-20 Eli Zaretskii <[email protected]>
+ * makefile.w32-in (clean): Don't delete *~.
+
* w32proc.c (IMAGE_NT_OPTIONAL_HDR32_MAGIC, IMAGE_OPTIONAL_HEADER32):
Define if not defined.
diff --git a/src/makefile.w32-in b/src/makefile.w32-in
index ccb0dcf9f5..c28e27bdfc 100644
--- a/src/makefile.w32-in
+++ b/src/makefile.w32-in
@@ -247,8 +247,10 @@ install: $(ALL)
#
# 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