diff options
| author | Eli Zaretskii | 2007-07-20 19:27:27 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2007-07-20 19:27:27 +0000 |
| commit | e4fe7e5e9515ca3bf38acdbc86f4449a23535186 (patch) | |
| tree | 7c9a122c88e440e7b93f2a36c10bf6f32cd194e7 | |
| parent | 75be52584d49c52bfb5bc21563bc64640c3ea0b9 (diff) | |
| download | emacs-e4fe7e5e9515ca3bf38acdbc86f4449a23535186.tar.gz emacs-e4fe7e5e9515ca3bf38acdbc86f4449a23535186.zip | |
(install-lisp-SH, install-lisp-CMD): New targets.
(install): Use them to copy all *.el files before *.elc.
(clean): Don't delete *~.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/makefile.w32-in | 9 |
2 files changed, 12 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 74984f03789..b6a9389a734 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2007-07-20 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * makefile.w32-in (install-lisp-SH, install-lisp-CMD): New targets. | ||
| 4 | (install): Use them to copy all *.el files before *.elc. | ||
| 5 | (clean): Don't delete *~. | ||
| 6 | |||
| 1 | 2007-07-20 Dan Nicolaescu <dann@ics.uci.edu> | 7 | 2007-07-20 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 8 | ||
| 3 | * vc-hg.el (vc-hg-workfile-unchanged-p): New function. | 9 | * vc-hg.el (vc-hg-workfile-unchanged-p): New function. |
diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in index 6e8a3f5d39a..55b9f9ed5e2 100644 --- a/lisp/makefile.w32-in +++ b/lisp/makefile.w32-in | |||
| @@ -429,17 +429,20 @@ install: | |||
| 429 | # since cp does not preserve time stamps | 429 | # since cp does not preserve time stamps |
| 430 | install-lisp-SH: | 430 | install-lisp-SH: |
| 431 | cp -f *.el "$(INSTALL_DIR)/lisp" | 431 | cp -f *.el "$(INSTALL_DIR)/lisp" |
| 432 | for dir in $(WINS); do mkdir "$(INSTALL_DIR)/lisp/$$dir" && cp -f $$dir/*.el "$(INSTALL_DIR)/lisp/$$dir"; done | 432 | for dir in $(WINS); do [ -d "$(INSTALL_DIR)/lisp/$$dir" ] || mkdir "$(INSTALL_DIR)/lisp/$$dir"; done |
| 433 | for dir in $(WINS); do cp -f $$dir/*.el "$(INSTALL_DIR)/lisp/$$dir"; done | ||
| 433 | for dir in . $(WINS); do cp $$dir/*.elc "$(INSTALL_DIR)/lisp/$$dir"; done | 434 | for dir in . $(WINS); do cp $$dir/*.elc "$(INSTALL_DIR)/lisp/$$dir"; done |
| 434 | 435 | ||
| 435 | install-lisp-CMD: | 436 | install-lisp-CMD: |
| 436 | cp -f *.el "$(INSTALL_DIR)/lisp" | 437 | cp -f *.el "$(INSTALL_DIR)/lisp" |
| 437 | for %%f in ($(WINS)) do mkdir "$(INSTALL_DIR)/lisp/%%f" | 438 | for %%f in ($(WINS)) do if not exist "$(INSTALL_DIR)/lisp/%%f" mkdir "$(INSTALL_DIR)/lisp/%%f" |
| 438 | for %%f in ($(WINS)) do cp -f %%f/*.el "$(INSTALL_DIR)/lisp/%%f" | 439 | for %%f in ($(WINS)) do cp -f %%f/*.el "$(INSTALL_DIR)/lisp/%%f" |
| 439 | for %%f in (. $(WINS)) do cp -f %%f/*.elc "$(INSTALL_DIR)/lisp/%%f" | 440 | for %%f in (. $(WINS)) do cp -f %%f/*.elc "$(INSTALL_DIR)/lisp/%%f" |
| 440 | 441 | ||
| 441 | # | 442 | # |
| 442 | # Maintenance | 443 | # Maintenance |
| 443 | # | 444 | # |
| 445 | # We used to delete *~ here, but that might inadvertently remove | ||
| 446 | # precious files if it happens to match their short 8+3 aliases. | ||
| 444 | clean: | 447 | clean: |
| 445 | - $(DEL) *~ | 448 | - $(DEL) *.el~ |