summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMartin Stjernholm <mast@lysator.liu.se>2004-02-14 18:10:32 +0000
committerMartin Stjernholm <mast@lysator.liu.se>2004-02-14 18:10:32 +0000
commit8445679307d68a0260d17cc0b606c08b59fe7d6a (patch)
tree895f02f1a5cedc2a1a32c5f2238f83e423156add /lisp
parentd30b6b3390969ebe92b242b811482a08c77b0e24 (diff)
downloademacs-8445679307d68a0260d17cc0b606c08b59fe7d6a.tar.gz
emacs-8445679307d68a0260d17cc0b606c08b59fe7d6a.tar.bz2
emacs-8445679307d68a0260d17cc0b606c08b59fe7d6a.zip
* Makefile.in: Fixed the CC Mode recompile kludge so it works
when building in a different directory.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/Makefile.in9
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 <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
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.
#