Part of PR728, don't install examples or projects.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28671 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Makefile b/Makefile
index d917e58..550f2af 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,11 @@
else
$(warning Skipping runtime libraries, llvm-gcc 4 detected.)
endif
- OPTIONAL_DIRS := examples projects
+
+ # Don't install examples or projects.
+ ifneq ($(MAKECMDGOALS),install)
+ OPTIONAL_DIRS := examples projects
+ endif
DIRS += docs
endif
endif