aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2008-11-22 12:46:03 +0000
committerEli Zaretskii2008-11-22 12:46:03 +0000
commit0b8e2d21df603d0d74c7f4163fda2ac1354d39d7 (patch)
tree7e66d6cabacbeb201071899a3cb476024bb97b70
parentf7a043c3c7e9271c2430da7df5bc53291dd05729 (diff)
downloademacs-0b8e2d21df603d0d74c7f4163fda2ac1354d39d7.tar.gz
emacs-0b8e2d21df603d0d74c7f4163fda2ac1354d39d7.zip
(compile-first): New target.
(recompile): Depend on compile-first.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/makefile.w32-in5
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6d370f78544..ae4300ae15c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12008-11-22 Eli Zaretskii <eliz@gnu.org> 12008-11-22 Eli Zaretskii <eliz@gnu.org>
2 2
3 * makefile.w32-in (compile-first): New target.
4 (recompile): Depend on compile-first.
5
3 * Makefile.in (recompile): Depend on compile-first. 6 * Makefile.in (recompile): Depend on compile-first.
4 7
52008-11-22 Martin Rudalics <rudalics@gmx.at> 82008-11-22 Martin Rudalics <rudalics@gmx.at>
diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in
index 65b46507dc6..8b978d29581 100644
--- a/lisp/makefile.w32-in
+++ b/lisp/makefile.w32-in
@@ -312,12 +312,15 @@ backup-compiled-files:
312 312
313compile-after-backup: backup-compiled-files compile-always 313compile-after-backup: backup-compiled-files compile-always
314 314
315compile-first: $(lisp)/emacs-lisp/bytecomp.elc $(lisp)/emacs-lisp/byte-opt.elc \
316 $(lisp)/emacs-lisp/autoload.elc
317
315# Recompile all Lisp files which are newer than their .elc files. 318# Recompile all Lisp files which are newer than their .elc files.
316# Note that this doesn't create .elc files. It only recompiles if an 319# Note that this doesn't create .elc files. It only recompiles if an
317# .elc is present. 320# .elc is present.
318# WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as 321# WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
319# this can break with GNU Make 3.81 and later if sh.exe is used. 322# this can break with GNU Make 3.81 and later if sh.exe is used.
320recompile: mh-autoloads doit $(lisp)/progmodes/cc-mode.elc 323recompile: compile-first autoloads doit $(lisp)/progmodes/cc-mode.elc
321 $(emacs) --eval $(ARGQUOTE)(batch-byte-recompile-directory 0)$(ARGQUOTE) $(lisp) 324 $(emacs) --eval $(ARGQUOTE)(batch-byte-recompile-directory 0)$(ARGQUOTE) $(lisp)
322 325
323$(lisp)/calendar/cal-loaddefs.el: 326$(lisp)/calendar/cal-loaddefs.el: