Skip to content

Commit

Permalink
mk: Add a dummy CFG_COMPILER_HOST_TRIPLE to rustdoc invocation.
Browse files Browse the repository at this point in the history
Otherwise it will prohibit `make compiler-docs` on Windows.
  • Loading branch information
lifthrasiir authored and alexcrichton committed Apr 10, 2014
1 parent 6d6d4c9 commit dd00bf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mk/docs.mk
Expand Up @@ -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 $$<
Expand Down

0 comments on commit dd00bf3

Please sign in to comment.