]> git.eshelyaron.com Git - emacs.git/commitdiff
* Makefile.in: Fixed the CC Mode recompile kludge so it works
authorMartin Stjernholm <mast@lysator.liu.se>
Sat, 14 Feb 2004 18:10:32 +0000 (18:10 +0000)
committerMartin Stjernholm <mast@lysator.liu.se>
Sat, 14 Feb 2004 18:10:32 +0000 (18:10 +0000)
when building in a different directory.

lisp/ChangeLog
lisp/Makefile.in

index 6e6f513b0e9dd996f3e0bbacea961fc0385251eb..8bc44cb54cb5aaf11ba261f5338092d13aebe259 100644 (file)
@@ -1,3 +1,8 @@
+2004-02-14  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * Makefile.in: Fixed the CC Mode recompile kludge so it works
+       when building in a different directory.
+
 2004-02-13  Luc Teirlinck  <teirllm@auburn.edu>
 
        * simple.el (kill-new): Put yank-handler property on the entire
index 49d3ffda651bddf47492b9828417ae940abac125..2358a8a8a3e188d3fee1e1b1283f70e20e5e2f23 100644 (file)
@@ -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.
 #