diff options
Diffstat (limited to 'lisp/makefile.w32-in')
| -rw-r--r-- | lisp/makefile.w32-in | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in index 4aa1ad1b3f8..c12b7e52cf7 100644 --- a/lisp/makefile.w32-in +++ b/lisp/makefile.w32-in | |||
| @@ -411,7 +411,7 @@ install: | |||
| 411 | - $(DEL) "$(INSTALL_DIR)/same-dir.tst" | 411 | - $(DEL) "$(INSTALL_DIR)/same-dir.tst" |
| 412 | echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst" | 412 | echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst" |
| 413 | #ifdef COPY_LISP_SOURCE | 413 | #ifdef COPY_LISP_SOURCE |
| 414 | $(IFNOTSAMEDIR) $(CP_DIR) . "$(INSTALL_DIR)/lisp" $(ENDIF) | 414 | $(IFNOTSAMEDIR) $(MAKE) $(MFLAGS) install-lisp-$(SHELLTYPE) $(ENDIF) |
| 415 | #else | 415 | #else |
| 416 | # $(IFNOTSAMEDIR) $(CP_DIR) *.elc "$(INSTALL_DIR)/lisp" $(ENDIF) | 416 | # $(IFNOTSAMEDIR) $(CP_DIR) *.elc "$(INSTALL_DIR)/lisp" $(ENDIF) |
| 417 | # $(IFNOTSAMEDIR) $(CP) cus-load.el "$(INSTALL_DIR)/lisp" $(ENDIF) | 417 | # $(IFNOTSAMEDIR) $(CP) cus-load.el "$(INSTALL_DIR)/lisp" $(ENDIF) |
| @@ -428,6 +428,19 @@ install: | |||
| 428 | - $(DEL) ../same-dir.tst | 428 | - $(DEL) ../same-dir.tst |
| 429 | - $(DEL) "$(INSTALL_DIR)/same-dir.tst" | 429 | - $(DEL) "$(INSTALL_DIR)/same-dir.tst" |
| 430 | 430 | ||
| 431 | # Need to copy *.el files first, to avoid "source file is newer" annoyance | ||
| 432 | # since cp does not preserve time stamps | ||
| 433 | install-lisp-SH: | ||
| 434 | cp -f *.el "$(INSTALL_DIR)/lisp" | ||
| 435 | for dir in $(WINS); do mkdir "$(INSTALL_DIR)/lisp/$$dir" && cp -f $$dir/*.el "$(INSTALL_DIR)/lisp/$$dir"; done | ||
| 436 | for dir in . $(WINS); do cp $$dir/*.elc "$(INSTALL_DIR)/lisp/$$dir"; done | ||
| 437 | |||
| 438 | install-lisp-CMD: | ||
| 439 | cp -f *.el "$(INSTALL_DIR)/lisp" | ||
| 440 | for %%f in ($(WINS)) do mkdir "$(INSTALL_DIR)/lisp/%%f" | ||
| 441 | for %%f in ($(WINS)) do cp -f %%f/*.el "$(INSTALL_DIR)/lisp/%%f" | ||
| 442 | for %%f in (. $(WINS)) do cp -f %%f/*.elc "$(INSTALL_DIR)/lisp/%%f" | ||
| 443 | |||
| 431 | # | 444 | # |
| 432 | # Maintenance | 445 | # Maintenance |
| 433 | # | 446 | # |