From 9f23f619c9722621d86dd064a4901babf48279f9 Mon Sep 17 00:00:00 2001 From: David Adam Date: Sun, 30 Oct 2016 14:22:51 +0800 Subject: [PATCH] Makefile: pass correct version macro Fixes display of version in documentation header. A shell-style variable instead of a Makefile-style variable left it displayed as ISH_BUILD_VERSION. (cherry picked from commit 1e234f492c05f73c38a554a036bcf600ea9310fd) --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index ee373324d..67ad88145 100644 --- a/Makefile.in +++ b/Makefile.in @@ -386,7 +386,7 @@ toc.txt: $(HDR_FILES:index.hdr=index.hdr.in) | show-SED @echo " SED $(em)$@$(sgr0)" $v rm -f toc.tmp $@ # Ugly hack to set the toc initial title for the main page - $v echo '- fish shell documentation - $FISH_BUILD_VERSION' > toc.tmp + $v echo '- fish shell documentation - $(FISH_BUILD_VERSION)' > toc.tmp # The first sed command captures the page name, followed by the description # The second sed command captures the command name \1 and the description \2, but only up to a dash # This is to reduce the size of the TOC in the command listing on the main page