From 0b8e2d21df603d0d74c7f4163fda2ac1354d39d7 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 22 Nov 2008 12:46:03 +0000 Subject: [PATCH] (compile-first): New target. (recompile): Depend on compile-first. --- lisp/ChangeLog | 3 +++ lisp/makefile.w32-in | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6d370f78544..ae4300ae15c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2008-11-22 Eli Zaretskii + * makefile.w32-in (compile-first): New target. + (recompile): Depend on compile-first. + * Makefile.in (recompile): Depend on compile-first. 2008-11-22 Martin Rudalics 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: 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: -- 2.39.2