]> granicus.if.org Git - clang/commitdiff
Makefile: Follow r118918, to add configuration "ENABLE_DOCS".
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 14 Nov 2010 03:29:27 +0000 (03:29 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 14 Nov 2010 03:29:27 +0000 (03:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119025 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile

index f871c25274ed4e80c416c2d85ae2a55e31c646c1..ec5aa876b37ed462bf453f784ef5c9cbbcebc237 100644 (file)
--- 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