From df4051e0b1930aade69a821c225cd89870cbfd56 Mon Sep 17 00:00:00 2001 From: Brian Campbell Date: Sat, 4 Oct 2014 14:41:37 -0400 Subject: [PATCH] docs: Fix short hash link to github 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. --- mk/docs.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mk/docs.mk b/mk/docs.mk index 26439948aa4..725b95d4385 100644 --- a/mk/docs.mk +++ b/mk/docs.mk @@ -112,8 +112,8 @@ HTML_DEPS += doc/version_info.html doc/version_info.html: $(D)/version_info.html.template $(MKFILE_DEPS) \ $(wildcard $(D)/*.*) | doc/ @$(call E, version-info: $@) - $(Q)sed -e "s/VERSION/$(CFG_RELEASE)/; s/SHORT_HASH/$( \ - CFG_SHORT_VER_HASH)/; \ + $(Q)sed -e "s/VERSION/$(CFG_RELEASE)/; \ + s/SHORT_HASH/$(CFG_SHORT_VER_HASH)/; \ s/STAMP/$(CFG_VER_HASH)/;" $< >$@ GENERATED += doc/version.tex doc/version_info.html