Rollup merge of #23874 - cmr:no-compiler-docs, r=alexcrichton

r? @alexcrichton
This commit is contained in:
Manish Goregaokar 2015-03-31 09:04:39 +05:30
commit db76327ef6

View File

@ -125,13 +125,18 @@ ONLY_RLIB_rustc_bitflags := 1
# On channels where the only usable crate is std, only build documentation for # On channels where the only usable crate is std, only build documentation for
# std. This keeps distributions small and doesn't clutter up the API docs with # std. This keeps distributions small and doesn't clutter up the API docs with
# confusing internal details from the crates behind the facade. # confusing internal details from the crates behind the facade.
#
# (Disabled while cmr figures out how to change rustdoc to make reexports work
# slightly nicer. Otherwise, all cross-crate links to Vec will go to
# libcollections, breaking them, and [src] links for anything reexported will
# not work.)
ifeq ($(CFG_RELEASE_CHANNEL),stable) #ifeq ($(CFG_RELEASE_CHANNEL),stable)
DOC_CRATES := std #DOC_CRATES := std
else #else
ifeq ($(CFG_RELEASE_CHANNEL),beta) #ifeq ($(CFG_RELEASE_CHANNEL),beta)
DOC_CRATES := std #DOC_CRATES := std
else #else
DOC_CRATES := $(filter-out rustc, \ DOC_CRATES := $(filter-out rustc, \
$(filter-out rustc_trans, \ $(filter-out rustc_trans, \
$(filter-out rustc_typeck, \ $(filter-out rustc_typeck, \
@ -143,8 +148,8 @@ DOC_CRATES := $(filter-out rustc, \
$(filter-out log, \ $(filter-out log, \
$(filter-out getopts, \ $(filter-out getopts, \
$(filter-out syntax, $(CRATES)))))))))))) $(filter-out syntax, $(CRATES))))))))))))
endif #endif
endif #endif
COMPILER_DOC_CRATES := rustc rustc_trans rustc_borrowck rustc_resolve \ COMPILER_DOC_CRATES := rustc rustc_trans rustc_borrowck rustc_resolve \
rustc_typeck rustc_driver syntax rustc_privacy \ rustc_typeck rustc_driver syntax rustc_privacy \
rustc_lint rustc_lint