[llvm-commits] CVS: llvm/Makefile.rules
Misha Brukman
brukman at cs.uiuc.edu
Sun Nov 9 15:37:01 PST 2003
Changes in directory llvm:
Makefile.rules updated: 1.156 -> 1.157
---
Log message:
If the source tree's Makefile is more up-to-date, copy it over into the build
tree.
---
Diffs of the changes: (+6 -0)
Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.156 llvm/Makefile.rules:1.157
--- llvm/Makefile.rules:1.156 Sat Nov 8 15:23:06 2003
+++ llvm/Makefile.rules Sun Nov 9 15:36:19 2003
@@ -816,6 +816,12 @@
@${ECHO} "****************************************************************"
$(VERB) exit 1
+# If the Makefile in the source tree has been updated, copy it over into the
+# build tree.
+Makefile :: $(BUILD_SRC_DIR)/Makefile
+ @${ECHO} "===== Makefile out of date, updating from source dir: `dirname $<` ====="
+ cp -f $< $@
+
#
# Include dependencies generated from C/C++ source files, but not if we
# are cleaning (this example taken from the GNU Make Manual).
More information about the llvm-commits
mailing list