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
This commit is contained in:
Bob Wilson 2012-10-24 22:56:32 +00:00
parent bf94e4134c
commit 4e33d94304

View File

@ -68,10 +68,13 @@ endif
ifeq ($(MAKECMDGOALS),install-clang) ifeq ($(MAKECMDGOALS),install-clang)
DIRS := tools/clang/tools/driver tools/clang/lib/Headers \ 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/include/clang-c \
tools/clang/runtime tools/clang/docs \ tools/clang/runtime tools/clang/docs \
tools/lto runtime tools/lto runtime
ifneq ($(BUILD_CLANG_ONLY),YES)
DIRS += tools/clang/tools/c-index-test
endif
OPTIONAL_DIRS := OPTIONAL_DIRS :=
NO_INSTALL = 1 NO_INSTALL = 1
endif endif