diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile.am | 6 | ||||
-rw-r--r-- | doc/asciidoc.conf | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index c57eb7c..c91c808 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -29,9 +29,11 @@ dist-hook : $(MAN_DOC) $(MAN_HTML) SUFFIXES=.html .txt .xml .1 .3 .7 .txt.html: - asciidoc -d manpage -b xhtml11 -f asciidoc.conf $< + asciidoc -d manpage -b xhtml11 -f asciidoc.conf \ + -azmq_version=@PACKAGE_VERSION@ $< .txt.xml: - asciidoc -d manpage -b docbook -f asciidoc.conf $< + asciidoc -d manpage -b docbook -f asciidoc.conf \ + -azmq_version=@PACKAGE_VERSION@ $< .xml.1: xmlto man $< .xml.3: diff --git a/doc/asciidoc.conf b/doc/asciidoc.conf index d1dac78..18273f2 100644 --- a/doc/asciidoc.conf +++ b/doc/asciidoc.conf @@ -23,7 +23,7 @@ template::[header-declarations] <refentrytitle>{mantitle}</refentrytitle> <manvolnum>{manvolnum}</manvolnum> <refmiscinfo class="source">0MQ</refmiscinfo> -<refmiscinfo class="version">2.0.0</refmiscinfo> +<refmiscinfo class="version">{zmq_version}</refmiscinfo> <refmiscinfo class="manual">0MQ Manual</refmiscinfo> </refmeta> <refnamediv> |