[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/makefile.w32-in, v [EMACS_22_BASE]
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/makefile.w32-in, v [EMACS_22_BASE] |
Date: |
Fri, 20 Jul 2007 19:26:35 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Eli Zaretskii <eliz> 07/07/20 19:26:35
Index: makefile.w32-in
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/makefile.w32-in,v
retrieving revision 1.64.2.2
retrieving revision 1.64.2.3
diff -u -b -r1.64.2.2 -r1.64.2.3
--- makefile.w32-in 13 Jul 2007 20:41:17 -0000 1.64.2.2
+++ makefile.w32-in 20 Jul 2007 19:26:35 -0000 1.64.2.3
@@ -429,17 +429,20 @@
# since cp does not preserve time stamps
install-lisp-SH:
cp -f *.el "$(INSTALL_DIR)/lisp"
- for dir in $(WINS); do mkdir "$(INSTALL_DIR)/lisp/$$dir" && cp -f
$$dir/*.el "$(INSTALL_DIR)/lisp/$$dir"; done
+ for dir in $(WINS); do [ -d "$(INSTALL_DIR)/lisp/$$dir" ] || mkdir
"$(INSTALL_DIR)/lisp/$$dir"; done
+ for dir in $(WINS); do cp -f $$dir/*.el "$(INSTALL_DIR)/lisp/$$dir";
done
for dir in . $(WINS); do cp $$dir/*.elc "$(INSTALL_DIR)/lisp/$$dir";
done
install-lisp-CMD:
cp -f *.el "$(INSTALL_DIR)/lisp"
- for %%f in ($(WINS)) do mkdir "$(INSTALL_DIR)/lisp/%%f"
+ for %%f in ($(WINS)) do if not exist "$(INSTALL_DIR)/lisp/%%f" mkdir
"$(INSTALL_DIR)/lisp/%%f"
for %%f in ($(WINS)) do cp -f %%f/*.el "$(INSTALL_DIR)/lisp/%%f"
for %%f in (. $(WINS)) do cp -f %%f/*.elc "$(INSTALL_DIR)/lisp/%%f"
#
# Maintenance
#
+# We used to delete *~ here, but that might inadvertently remove
+# precious files if it happens to match their short 8+3 aliases.
clean:
- - $(DEL) *~
+ - $(DEL) *.el~