Commit 0b8e2d21 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(compile-first): New target.

(recompile): Depend on compile-first.
parent f7a043c3
2008-11-22 Eli Zaretskii <eliz@gnu.org> 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. * Makefile.in (recompile): Depend on compile-first.
   
2008-11-22 Martin Rudalics <rudalics@gmx.at> 2008-11-22 Martin Rudalics <rudalics@gmx.at>
......
...@@ -312,12 +312,15 @@ backup-compiled-files: ...@@ -312,12 +312,15 @@ backup-compiled-files:
compile-after-backup: backup-compiled-files compile-always 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. # Recompile all Lisp files which are newer than their .elc files.
# Note that this doesn't create .elc files. It only recompiles if an # Note that this doesn't create .elc files. It only recompiles if an
# .elc is present. # .elc is present.
# WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as # 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. # 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) $(emacs) --eval $(ARGQUOTE)(batch-byte-recompile-directory 0)$(ARGQUOTE) $(lisp)
$(lisp)/calendar/cal-loaddefs.el: $(lisp)/calendar/cal-loaddefs.el:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment