aboutsummaryrefslogtreecommitdiffstats
path: root/build/docinfo-releaseinfo.conf
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-02-20 18:06:45 +0100
committerHarald Welte <laforge@gnumonks.org>2016-02-20 18:28:37 +0100
commit5fcea8028d907ec285ef4306b35997db7da953b2 (patch)
tree7ad0d62d969aae607b5cc975ba19b1393d2801b2 /build/docinfo-releaseinfo.conf
parent593eaf617354291f14e99e2173ce97835b0e3c8b (diff)
Ensure the git version + commit date ends up in PDF
This is a bit awkward, as the 'revnumber' asciidoc variable so far doesn't seem to end up in the docbook-xml. We now put it into 'releaseinfo' which gets then put into \DBKreleeaseinfo by dblatex. makefile watermark fixup
Diffstat (limited to 'build/docinfo-releaseinfo.conf')
-rw-r--r--build/docinfo-releaseinfo.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/docinfo-releaseinfo.conf b/build/docinfo-releaseinfo.conf
new file mode 100644
index 0000000..b5bc642
--- /dev/null
+++ b/build/docinfo-releaseinfo.conf
@@ -0,0 +1,5 @@
+[+docinfo]
+# this ensures that the asciidoc 'revnumber' ends up in some docbook-xml
+# tag, from where we can then subsequently pick it up via the dblatex
+# stylesheet.
+<releaseinfo>{revnumber}</releaseinfo>