]> git.lizzy.rs Git - rust.git/commitdiff
mk: Less noisy rustdoc invocations
authorAlex Crichton <alex@alexcrichton.com>
Sun, 1 Jun 2014 18:09:30 +0000 (11:09 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 2 Jun 2014 04:53:43 +0000 (21:53 -0700)
mk/docs.mk

index 5a00ad6f7e884b7c638e16562205044a3a4d749c..90f85079464bb2743758afa957a194460f5fc488 100644 (file)
@@ -110,7 +110,7 @@ HTML_DEPS += doc/version_info.html
 doc/version_info.html: $(D)/version_info.html.template $(MKFILE_DEPS) \
                        $(wildcard $(D)/*.*) | doc/
        @$(call E, version-info: $@)
-       sed -e "s/VERSION/$(CFG_RELEASE)/; s/SHORT_HASH/$(shell echo \
+       $(Q)sed -e "s/VERSION/$(CFG_RELEASE)/; s/SHORT_HASH/$(shell echo \
                     $(CFG_VER_HASH) | head -c 8)/;\
                 s/STAMP/$(CFG_VER_HASH)/;" $< >$@
 
@@ -156,7 +156,9 @@ doc/footer.tex: $(D)/footer.inc | doc/
 # HTML (rustdoc)
 DOC_TARGETS += doc/not_found.html
 doc/not_found.html: $(D)/not_found.md $(HTML_DEPS) | doc/
-       $(RUSTDOC) $(RUSTDOC_HTML_OPTS_NO_CSS) --markdown-css http://doc.rust-lang.org/rust.css $<
+       @$(call E, rustdoc: $@)
+       $(Q)$(RUSTDOC) $(RUSTDOC_HTML_OPTS_NO_CSS) \
+               --markdown-css http://doc.rust-lang.org/rust.css $<
 
 define DEF_DOC
 
@@ -164,7 +166,7 @@ define DEF_DOC
 DOC_TARGETS += doc/$(1).html
 doc/$(1).html: $$(D)/$(1).md $$(HTML_DEPS) $$(RUSTDOC_DEPS_$(1)) | doc/
        @$$(call E, rustdoc: $$@)
-       $$(RUSTDOC) $$(RUSTDOC_HTML_OPTS) $$(RUSTDOC_FLAGS_$(1)) $$<
+       $$(Q)$$(RUSTDOC) $$(RUSTDOC_HTML_OPTS) $$(RUSTDOC_FLAGS_$(1)) $$<
 
 ifneq ($(ONLY_HTML_DOCS),1)