summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-21 06:23:20 +0000
committerChris Lattner <sabre@nondot.org>2007-02-21 06:23:20 +0000
commit122c05571141b695d9683b3fb4ce060e1ea1c009 (patch)
treeffaee7c0f5532036b9408fb920a64ab35da3545f /Makefile
parent60c0a6a74baf6750d87ab69f00c96f120cefa776 (diff)
revert r1.68. This breaks 'make install' without doing 'make' first, but
fixes PR1208. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34466 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8f16ce2e7b3..b6ee8b024d2 100644
--- 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