[c-index-test] When building with BUILD_CLANG_ONLY=YES, include c-index-test.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 6 Nov 2012 19:54:46 +0000 (19:54 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 6 Nov 2012 19:54:46 +0000 (19:54 +0000)
It is part of libclang and has other uses besides running the clang tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167484 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile

index 2b7838030589e66741fdef5c13fb2a00dc83bfcc..1e5dae470d262a0376990d47f9fc4edceb1b58c6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -69,12 +69,10 @@ 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/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