Skip to contentSkip to conversation

Documentation: fix version numbering

PATCH In review Sven van Haastregt 2 participants 2 messages Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: fix version numbering

Version numbers in asciidoc-generated content (such as man pages) went missing as of da8a366 (Documentation: refactor common operations into variables). Fix by putting the underscore back in the variable name.

---
 Documentation/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/Makefile +1 -1
index 2f6b6aa..3e39e28 100644
@@ -103,7 +103,7 @@ ASCIIDOC_HTML = xhtml11
 ASCIIDOC_DOCBOOK = docbook
 ASCIIDOC_CONF = -f asciidoc.conf
 ASCIIDOC_COMMON = $(ASCIIDOC) $(ASCIIDOC_EXTRA) $(ASCIIDOC_CONF) \
-		-agit-version=$(GIT_VERSION)
+		-agit_version=$(GIT_VERSION)
 TXT_TO_HTML = $(ASCIIDOC_COMMON) -b $(ASCIIDOC_HTML)
 TXT_TO_XML = $(ASCIIDOC_COMMON) -b $(ASCIIDOC_DOCBOOK)
 MANPAGE_XSL = manpage-normal.xsl
Signature · 1 line
2.2.2
#1 lore raw
Quoted 18 lines · Sven van Haastregt

Version numbers in asciidoc-generated content (such as man pages) went missing as of da8a366 (Documentation: refactor common operations into variables). Fix by putting the underscore back in the variable name.

---
Documentation/Makefile | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/Makefile +0 -0
index 2f6b6aa..3e39e28 100644
@@ -103,7 +103,7 @@ ASCIIDOC_HTML = xhtml11

ASCIIDOC_DOCBOOK = docbook
ASCIIDOC_CONF = -f asciidoc.conf
ASCIIDOC_COMMON = $(ASCIIDOC) $(ASCIIDOC_EXTRA) $(ASCIIDOC_CONF) \

Documentation/Makefile ASCIIDOC_HTML = xhtml11 · line 106

Quoted 2 lines
Documentation/Makefile +1 -1
-		-agit-version=$(GIT_VERSION)
+		-agit_version=$(GIT_VERSION)

Yes, this does seem to fix it. My apologies for the bug, and thanks for noticing.

Signature · 3 lines
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187