revert r1.68. This breaks 'make install' without doing 'make' first, but
fixes PR1208.
llvm-svn: 34466
diff --git a/llvm/Makefile b/llvm/Makefile
index 8f16ce2..b6ee8b0 100644
--- a/llvm/Makefile
+++ b/llvm/Makefile
@@ -40,6 +40,13 @@
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