[llvm-commits] [llvm] r48149 - in /llvm/trunk: Makefile.rules bindings/ocaml/Makefile
Gordon Henriksen
gordonhenriksen at mac.com
Mon Mar 10 08:58:40 PDT 2008
Author: gordon
Date: Mon Mar 10 10:58:40 2008
New Revision: 48149
URL: http://llvm.org/viewvc/llvm-project?rev=48149&view=rev
Log:
Refresh Makefile.ocaml in objdir if it is modified in srcdir.
Patch by Erick Tryzelaar!
Modified:
llvm/trunk/Makefile.rules
llvm/trunk/bindings/ocaml/Makefile
Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=48149&r1=48148&r2=48149&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Mon Mar 10 10:58:40 2008
@@ -159,7 +159,7 @@
#------------------------------------------------------------------------
ifneq ($(PROJ_OBJ_DIR),$(PROJ_SRC_DIR))
-Makefile: $(PROJ_SRC_DIR)/Makefile
+Makefile: $(PROJ_SRC_DIR)/Makefile $(ExtraMakefiles)
$(Echo) "Updating Makefile"
$(Verb) $(MKDIR) $(@D)
$(Verb) $(CP) -f $< $@
@@ -171,7 +171,7 @@
@case '$?' in \
*Makefile.rules) ;; \
*.in) ;; \
- *) $(Echo) "Updating $(@F)" ; \
+ *) $(EchoCmd) "Updating $(@F)" ; \
$(MKDIR) $(@D) ; \
$(CP) -f $< $@ ;; \
esac
Modified: llvm/trunk/bindings/ocaml/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/ocaml/Makefile?rev=48149&r1=48148&r2=48149&view=diff
==============================================================================
--- llvm/trunk/bindings/ocaml/Makefile (original)
+++ llvm/trunk/bindings/ocaml/Makefile Mon Mar 10 10:58:40 2008
@@ -9,6 +9,7 @@
LEVEL := ../..
DIRS = llvm bitreader bitwriter analysis executionengine
+ExtraMakefiles = $(PROJ_OBJ_DIR)/Makefile.ocaml
ocamldoc:
$(Verb) for i in $(DIRS) ; do \
More information about the llvm-commits
mailing list