Part of PR728, don't install examples or projects.
authorChris Lattner <sabre@nondot.org>
Fri, 2 Jun 2006 22:34:39 +0000 (22:34 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 2 Jun 2006 22:34:39 +0000 (22:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28671 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile

index d917e58811f60b15602de377ef6adc7608731aee..550f2aff29fde5fc1d5c524968042714acc10e01 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,11 @@ else
     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