From 9d9ae9fb59ee3897ffc21dfa3b7078478ac6d674 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 12 Nov 2010 19:24:06 +0000 Subject: Add --enable-docs. Patch by NAKAMURA Takumi. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118918 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ae650b7f2d..3c6b953eb9 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 := -- cgit v1.2.3-18-g5258