summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2010-11-14 03:29:27 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2010-11-14 03:29:27 +0000
commit6c7b42faab83f5c91b1a9171c9002259ad361fe2 (patch)
tree9e86fd65b94ba29b8edc25f74b428dcdc013b781 /Makefile
parentaf5fd25a808f3059f988cced0d30fa3b19d027fd (diff)
Makefile: Follow r118918, to add configuration "ENABLE_DOCS".
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119025 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f871c25274..ec5aa876b3 100644
--- a/Makefile
+++ b/Makefile
@@ -37,6 +37,10 @@ LEVEL := $(CLANG_LEVEL)/../..
# Include LLVM common makefile.
include $(LEVEL)/Makefile.common
+ifneq ($(ENABLE_DOCS),1)
+ DIRS := $(filter-out docs, $(DIRS))
+endif
+
# Set common Clang build flags.
CPP.Flags += -I$(PROJ_SRC_DIR)/$(CLANG_LEVEL)/include -I$(PROJ_OBJ_DIR)/$(CLANG_LEVEL)/include
ifdef CLANG_VENDOR