aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2007-07-13 20:23:12 +0000
committerEli Zaretskii2007-07-13 20:23:12 +0000
commit564a3032f90e492446ff149e6afcc32c0371f749 (patch)
tree2f96ca5d8a80b0f87583007b13810f1d6c8af375
parent3fc750390ca615aa353da08361b8cdc0ad578052 (diff)
downloademacs-564a3032f90e492446ff149e6afcc32c0371f749.tar.gz
emacs-564a3032f90e492446ff149e6afcc32c0371f749.zip
(install-lisp-SH, install-lisp-CMD): New targets.
(install): Use them to copy all *.el files before *.elc.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/makefile.w32-in15
2 files changed, 19 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 209174beddb..0f550312912 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12007-07-13 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
12007-07-13 Karl Fogel <kfogel@red-bean.com> 62007-07-13 Karl Fogel <kfogel@red-bean.com>
2 7
3 * bookmark.el (bookmark-jump-other-window): New function. 8 * bookmark.el (bookmark-jump-other-window): New function.
diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in
index 29b3a185fb5..6e8a3f5d39a 100644
--- a/lisp/makefile.w32-in
+++ b/lisp/makefile.w32-in
@@ -408,7 +408,7 @@ install:
408 - $(DEL) "$(INSTALL_DIR)/same-dir.tst" 408 - $(DEL) "$(INSTALL_DIR)/same-dir.tst"
409 echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst" 409 echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst"
410#ifdef COPY_LISP_SOURCE 410#ifdef COPY_LISP_SOURCE
411 $(IFNOTSAMEDIR) $(CP_DIR) . "$(INSTALL_DIR)/lisp" $(ENDIF) 411 $(IFNOTSAMEDIR) $(MAKE) $(MFLAGS) install-lisp-$(SHELLTYPE) $(ENDIF)
412#else 412#else
413# $(IFNOTSAMEDIR) $(CP_DIR) *.elc "$(INSTALL_DIR)/lisp" $(ENDIF) 413# $(IFNOTSAMEDIR) $(CP_DIR) *.elc "$(INSTALL_DIR)/lisp" $(ENDIF)
414# $(IFNOTSAMEDIR) $(CP) cus-load.el "$(INSTALL_DIR)/lisp" $(ENDIF) 414# $(IFNOTSAMEDIR) $(CP) cus-load.el "$(INSTALL_DIR)/lisp" $(ENDIF)
@@ -425,6 +425,19 @@ install:
425 - $(DEL) ../same-dir.tst 425 - $(DEL) ../same-dir.tst
426 - $(DEL) "$(INSTALL_DIR)/same-dir.tst" 426 - $(DEL) "$(INSTALL_DIR)/same-dir.tst"
427 427
428# Need to copy *.el files first, to avoid "source file is newer" annoyance
429# since cp does not preserve time stamps
430install-lisp-SH:
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
433 for dir in . $(WINS); do cp $$dir/*.elc "$(INSTALL_DIR)/lisp/$$dir"; done
434
435install-lisp-CMD:
436 cp -f *.el "$(INSTALL_DIR)/lisp"
437 for %%f in ($(WINS)) do 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/*.elc "$(INSTALL_DIR)/lisp/%%f"
440
428# 441#
429# Maintenance 442# Maintenance
430# 443#