aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2007-07-13 20:42:01 +0000
committerEli Zaretskii2007-07-13 20:42:01 +0000
commit86d925186186ba058663ad42328a42dca07e637f (patch)
treed8805e0ee29a3c7c4b35d67ebad3d53db02e876b
parent47f88b0058bd7349bfab19d109991a47e08167bf (diff)
downloademacs-86d925186186ba058663ad42328a42dca07e637f.tar.gz
emacs-86d925186186ba058663ad42328a42dca07e637f.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 644636076c3..3fb9fc4cb42 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 Dan Nicolaescu <dann@ics.uci.edu> 62007-07-13 Dan Nicolaescu <dann@ics.uci.edu>
2 7
3 * replace.el (match): Use yellow1 instead of yellow. 8 * replace.el (match): Use yellow1 instead of yellow.
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#