summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e59441c4329..2b783803058 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