From 8445679307d68a0260d17cc0b606c08b59fe7d6a Mon Sep 17 00:00:00 2001 From: Martin Stjernholm Date: Sat, 14 Feb 2004 18:10:32 +0000 Subject: [PATCH] * Makefile.in: Fixed the CC Mode recompile kludge so it works when building in a different directory. --- lisp/ChangeLog | 5 +++++ lisp/Makefile.in | 9 ++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6e6f513b0e9..8bc44cb54cb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2004-02-14 Martin Stjernholm + + * Makefile.in: Fixed the CC Mode recompile kludge so it works + when building in a different directory. + 2004-02-13 Luc Teirlinck * simple.el (kill-new): Put yank-handler property on the entire diff --git a/lisp/Makefile.in b/lisp/Makefile.in index 49d3ffda651..2358a8a8a3e 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in @@ -273,14 +273,17 @@ compile-after-backup: backup-compiled-files compile-always # Note that this doesn't create .elc files. It only recompiles if an # .elc is present. -recompile: doit progmodes/cc-mode.elc +recompile: doit $(lisp)/progmodes/cc-mode.elc $(EMACS) $(EMACSOPT) -f batch-byte-recompile-directory $(lisp) # CC Mode uses a compile time macro system which causes a compile time # dependency in cc-mode.elc on the macros in cc-langs.el and the # version string in cc-defs.el. -progmodes/cc-mode.elc: progmodes/cc-mode.el progmodes/cc-langs.el progmodes/cc-defs.el - $(EMACS) $(EMACSOPT) -f batch-byte-compile progmodes/cc-mode.el +$(lisp)/progmodes/cc-mode.elc: \ + $(lisp)/progmodes/cc-mode.el \ + $(lisp)/progmodes/cc-langs.el \ + $(lisp)/progmodes/cc-defs.el + $(EMACS) $(EMACSOPT) -f batch-byte-compile $(lisp)/progmodes/cc-mode.el # Prepare a bootstrap in the lisp subdirectory. # -- 2.39.2