(compile-first): New target.
authorEli Zaretskii <eliz@gnu.org>
Sat, 22 Nov 2008 12:46:03 +0000 (12:46 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 22 Nov 2008 12:46:03 +0000 (12:46 +0000)
(recompile): Depend on compile-first.

lisp/ChangeLog
lisp/makefile.w32-in

index 6d370f7..ae4300a 100644 (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>
index 65b4650..8b978d2 100644 (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: