mk: Don't build any docs with --disable-docs.

This commit is contained in:
Luqman Aden 2014-05-27 20:17:17 -04:00
parent 5811d2bd96
commit 213d54e06c

View file

@ -287,6 +287,7 @@ $(foreach crate,$(COMPILER_DOC_CRATES),$(eval $(call DEF_LIB_DOC,$(crate),COMPIL
ifdef CFG_DISABLE_DOCS ifdef CFG_DISABLE_DOCS
$(info cfg: disabling doc build (CFG_DISABLE_DOCS)) $(info cfg: disabling doc build (CFG_DISABLE_DOCS))
DOC_TARGETS := DOC_TARGETS :=
COMPILER_DOC_TARGETS :=
endif endif
docs: $(DOC_TARGETS) docs: $(DOC_TARGETS)