From 30b967e2a439ce76b1141d34fa3c8ee9f87a88a8 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Thu, 11 Feb 2010 17:49:40 +0100 Subject: Integrate version numbering into autoconf configure.in is now the master source for the package version number, this propagates to src/platform.hpp (for zmq_version) and doc/Makefile.am (for documentation generation) automagically. --- doc/Makefile.am | 6 ++++-- doc/asciidoc.conf | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'doc') 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] {mantitle} {manvolnum} 0MQ -2.0.0 +{zmq_version} 0MQ Manual -- cgit v1.2.3