mk: Don't require pandoc to run rustdoc
This commit is contained in:
parent
dd8d565083
commit
8973d7c3f5
|
@ -217,10 +217,6 @@ endif
|
||||||
# Rustdoc (libstd/extra)
|
# Rustdoc (libstd/extra)
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
ifeq ($(CFG_PANDOC),)
|
|
||||||
$(info cfg: no pandoc found, omitting library doc build)
|
|
||||||
else
|
|
||||||
|
|
||||||
# The rustdoc executable
|
# The rustdoc executable
|
||||||
RUSTDOC = $(HBIN2_H_$(CFG_BUILD_TRIPLE))/rustdoc$(X_$(CFG_BUILD_TRIPLE))
|
RUSTDOC = $(HBIN2_H_$(CFG_BUILD_TRIPLE))/rustdoc$(X_$(CFG_BUILD_TRIPLE))
|
||||||
|
|
||||||
|
@ -238,7 +234,6 @@ endef
|
||||||
|
|
||||||
$(eval $(call libdoc,std,$(STDLIB_CRATE),$(CFG_BUILD_TRIPLE)))
|
$(eval $(call libdoc,std,$(STDLIB_CRATE),$(CFG_BUILD_TRIPLE)))
|
||||||
$(eval $(call libdoc,extra,$(EXTRALIB_CRATE),$(CFG_BUILD_TRIPLE)))
|
$(eval $(call libdoc,extra,$(EXTRALIB_CRATE),$(CFG_BUILD_TRIPLE)))
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
ifdef CFG_DISABLE_DOCS
|
ifdef CFG_DISABLE_DOCS
|
||||||
|
|
Loading…
Reference in New Issue