]> git.eshelyaron.com Git - emacs.git/commitdiff
(clean): Don't delete *~.
authorEli Zaretskii <eliz@gnu.org>
Fri, 20 Jul 2007 19:43:01 +0000 (19:43 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 20 Jul 2007 19:43:01 +0000 (19:43 +0000)
src/ChangeLog
src/makefile.w32-in

index a9303a47d6e555c5ed6681ca15707f4252c39d45..008234b559a1ea2d8f1fb6ef7ffe782eb60cbcbe 100644 (file)
@@ -1,5 +1,7 @@
 2007-07-20  Eli Zaretskii  <eliz@gnu.org>
 
+       * makefile.w32-in (clean): Don't delete *~.
+
        * w32proc.c (IMAGE_NT_OPTIONAL_HDR32_MAGIC, IMAGE_OPTIONAL_HEADER32):
        Define if not defined.
 
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