summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-02 22:34:39 +0000
committerChris Lattner <sabre@nondot.org>2006-06-02 22:34:39 +0000
commit936cd541b68aee1705bd01e0f4ee6c951593814f (patch)
tree2f38705635497fbfd6c01e356cfa5ad5a7444dcc /Makefile
parent7c5357f0b92ffb4872152c8385a1a1bbffeefc82 (diff)
downloadllvm-936cd541b68aee1705bd01e0f4ee6c951593814f.tar.gz
llvm-936cd541b68aee1705bd01e0f4ee6c951593814f.tar.bz2
llvm-936cd541b68aee1705bd01e0f4ee6c951593814f.tar.xz
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d917e58811..550f2aff29 100644
--- 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