mk: Add a dummy CFG_COMPILER_HOST_TRIPLE to rustdoc invocation.

Otherwise it will prohibit `make compiler-docs` on Windows.
This commit is contained in:
Kang Seonghoon 2014-04-09 02:45:53 +09:00 committed by Alex Crichton
parent 6d6d4c987f
commit dd00bf3791

View File

@ -269,6 +269,7 @@ LIB_DOC_DEP_$(1) = $$(CRATEFILE_$(1)) $$(RSINPUTS_$(1))
endif
$(2) += doc/$(1)/index.html
doc/$(1)/index.html: CFG_COMPILER_HOST_TRIPLE = $(CFG_TARGET)
doc/$(1)/index.html: $$(LIB_DOC_DEP_$(1))
@$$(call E, rustdoc $$@)
$$(Q)$$(RUSTDOC) --cfg dox --cfg stage2 $$<