revert r1.68. This breaks 'make install' without doing 'make' first, but
authorChris Lattner <sabre@nondot.org>
Wed, 21 Feb 2007 06:23:20 +0000 (06:23 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 21 Feb 2007 06:23:20 +0000 (06:23 +0000)
fixes PR1208.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34466 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile

index 8f16ce2e7b330bc94cee2c336298ce7cfde5c9fc..b6ee8b024d22dc2e5b2681922f8b5f56888fb410 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,13 @@ ifeq ($(MAKECMDGOALS),tools-only)
   OPTIONAL_DIRS :=
 endif
 
+# Don't install utils, examples, or projects they are only used to 
+# build LLVM.
+ifeq ($(MAKECMDGOALS),install)
+  DIRS := $(filter-out utils, $(DIRS))
+  OPTIONAL_DIRS :=
+endif
+
 # Include the main makefile machinery.
 include $(LLVM_SRC_ROOT)/Makefile.rules