aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2007-07-16 22:40:17 +0000
committerEli Zaretskii <[email protected]>2007-07-16 22:40:17 +0000
commitb5d2b4abaa93e55d145e0abb430687b5d9d1965b (patch)
treef980887032554b6c4cb26a1d2995903efd1dc215 /src
parenta055c272823cace6a672484bff5d719ddce71022 (diff)
(clean): Don't delete *~.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/makefile.w32-in4
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 2d0300f8a5..ac1a040761 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2007-07-16 Eli Zaretskii <[email protected]>
+
+ * makefile.w32-in (clean): Don't delete *~.
+
2007-07-16 Andreas Schwab <[email protected]>
* window.c (Fdisplay_buffer): Use NILP.
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