summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-11-12 19:24:06 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-11-12 19:24:06 +0000
commit9d9ae9fb59ee3897ffc21dfa3b7078478ac6d674 (patch)
tree7e3b46e0d8d7ad0ca331e198cc0509b4c0dc9303 /Makefile
parent52668c9a3025ee64b408bf041453c93a1ac51908 (diff)
Add --enable-docs. Patch by NAKAMURA Takumi.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118918 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 ae650b7f2d9..3c6b953eb9f 100644
--- a/Makefile
+++ b/Makefile
@@ -47,6 +47,10 @@ ifneq ($(ENABLE_SHARED),1)
DIRS := $(filter-out tools/llvm-shlib, $(DIRS))
endif
+ifneq ($(ENABLE_DOCS),1)
+ DIRS := $(filter-out docs, $(DIRS))
+endif
+
ifeq ($(MAKECMDGOALS),libs-only)
DIRS := $(filter-out tools runtime docs, $(DIRS))
OPTIONAL_DIRS :=