]> git.eshelyaron.com Git - emacs.git/commitdiff
(clean): Don't delete *~.
authorEli Zaretskii <eliz@gnu.org>
Mon, 16 Jul 2007 22:40:17 +0000 (22:40 +0000)
committerEli Zaretskii <eliz@gnu.org>
Mon, 16 Jul 2007 22:40:17 +0000 (22:40 +0000)
src/ChangeLog
src/makefile.w32-in

index 2d0300f8a55435eea1471445e5fa19608f472f99..ac1a040761b38d44b6aaf1415c5656ebf5ae9fbe 100644 (file)
@@ -1,3 +1,7 @@
+2007-07-16  Eli Zaretskii  <eliz@gnu.org>
+
+       * makefile.w32-in (clean): Don't delete *~.
+
 2007-07-16  Andreas Schwab  <schwab@suse.de>
 
        * window.c (Fdisplay_buffer): Use NILP.
index ccb0dcf9f5fd7fc92951f6f03a26ca1b61624ae9..c28e27bdfcba2cfdea6170ee2b51cd217e3855bd 100644 (file)
@@ -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