1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00

(compile-first): New target.

(recompile): Depend on compile-first.
This commit is contained in:
Eli Zaretskii 2008-11-22 12:46:03 +00:00
parent f7a043c3c7
commit 0b8e2d21df
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2008-11-22 Eli Zaretskii <eliz@gnu.org>
* makefile.w32-in (compile-first): New target.
(recompile): Depend on compile-first.
* Makefile.in (recompile): Depend on compile-first.
2008-11-22 Martin Rudalics <rudalics@gmx.at>

View File

@ -312,12 +312,15 @@ backup-compiled-files:
compile-after-backup: backup-compiled-files compile-always
compile-first: $(lisp)/emacs-lisp/bytecomp.elc $(lisp)/emacs-lisp/byte-opt.elc \
$(lisp)/emacs-lisp/autoload.elc
# Recompile all Lisp files which are newer than their .elc files.
# Note that this doesn't create .elc files. It only recompiles if an
# .elc is present.
# WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
# this can break with GNU Make 3.81 and later if sh.exe is used.
recompile: mh-autoloads doit $(lisp)/progmodes/cc-mode.elc
recompile: compile-first autoloads doit $(lisp)/progmodes/cc-mode.elc
$(emacs) --eval $(ARGQUOTE)(batch-byte-recompile-directory 0)$(ARGQUOTE) $(lisp)
$(lisp)/calendar/cal-loaddefs.el: