summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2012-10-24 22:56:32 +0000
committerBob Wilson <bob.wilson@apple.com>2012-10-24 22:56:32 +0000
commit4e33d94304c499083b2a3d4a8904084001f83882 (patch)
tree0650ef521edde6ecf37d5dbb5eb2c56f45b150e3 /Makefile
parentbf94e4134ca7fdd54ffaf80cd0f613adab7329df (diff)
downloadllvm-4e33d94304c499083b2a3d4a8904084001f83882.tar.gz
llvm-4e33d94304c499083b2a3d4a8904084001f83882.tar.bz2
llvm-4e33d94304c499083b2a3d4a8904084001f83882.tar.xz
Don't try to install c-index-test with BUILD_CLANG_ONLY. rdar://12492703
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166637 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e59441c432..2b78380305 100644
--- a/Makefile
+++ b/Makefile
@@ -68,10 +68,13 @@ endif
ifeq ($(MAKECMDGOALS),install-clang)
DIRS := tools/clang/tools/driver tools/clang/lib/Headers \
- tools/clang/tools/libclang tools/clang/tools/c-index-test \
+ tools/clang/tools/libclang \
tools/clang/include/clang-c \
tools/clang/runtime tools/clang/docs \
tools/lto runtime
+ ifneq ($(BUILD_CLANG_ONLY),YES)
+ DIRS += tools/clang/tools/c-index-test
+ endif
OPTIONAL_DIRS :=
NO_INSTALL = 1
endif