Don't try to install c-index-test with BUILD_CLANG_ONLY. rdar://12492703
authorBob Wilson <bob.wilson@apple.com>
Wed, 24 Oct 2012 22:56:32 +0000 (22:56 +0000)
committerBob Wilson <bob.wilson@apple.com>
Wed, 24 Oct 2012 22:56:32 +0000 (22:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166637 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile

index e59441c4329a56294ad7afccd2d58db0cc95d741..2b7838030589e66741fdef5c13fb2a00dc83bfcc 100644 (file)
--- 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