emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems in lisp/Makefile.in


From: lawrence mitchell
Subject: Problems in lisp/Makefile.in
Date: Thu, 12 Feb 2004 22:47:16 +0000
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50

The latest changes to lisp/Makefile.in to support recompilation
of cc-modes.el break the recompile target if Emacs is built in a
different directory from the source directory.

The following change to the Makefile fixed things for me.

Index: Makefile.in
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/Makefile.in,v
retrieving revision 1.49
diff -u -r1.49 Makefile.in
--- Makefile.in 9 Feb 2004 00:47:53 -0000       1.49
+++ Makefile.in 12 Feb 2004 22:42:47 -0000
@@ -273,14 +273,17 @@
 # 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.
 #

-- 
lawrence mitchell <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]