auto merge of #14476 : luqmana/rust/docs, r=alexcrichton

We were still generating compiler docs even with --disable-docs passed.

cc @pnkfelix
This commit is contained in:
bors 2014-05-28 18:21:34 -07:00
commit 812785e01a
1 changed files with 1 additions and 0 deletions

View File

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