Skip to content

Commit dfbe9eb

Browse files
committed
auto merge of rust-lang#17777 : lambda/rust/fix-docs-short-hash, r=alexcrichton
The escaped newline in the middle of the variable reference breaks the short hash substitution, leaving the link text exmpty; rewrap so that each replacement is on its own line.
2 parents 5660db2 + df4051e commit dfbe9eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mk/docs.mk

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ HTML_DEPS += doc/version_info.html
112112
doc/version_info.html: $(D)/version_info.html.template $(MKFILE_DEPS) \
113113
$(wildcard $(D)/*.*) | doc/
114114
@$(call E, version-info: $@)
115-
$(Q)sed -e "s/VERSION/$(CFG_RELEASE)/; s/SHORT_HASH/$( \
116-
CFG_SHORT_VER_HASH)/; \
115+
$(Q)sed -e "s/VERSION/$(CFG_RELEASE)/; \
116+
s/SHORT_HASH/$(CFG_SHORT_VER_HASH)/; \
117117
s/STAMP/$(CFG_VER_HASH)/;" $< >$@
118118

119119
GENERATED += doc/version.tex doc/version_info.html

0 commit comments

Comments
 (0)