From: Miroslav Lichvar Date: Wed, 14 Oct 2015 12:43:47 +0000 (+0200) Subject: doc: include chrony version in manual title X-Git-Tag: 2.2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59087dd0ffaea8478c74394a8055ed43da20c939;p=thirdparty%2Fchrony.git doc: include chrony version in manual title --- diff --git a/chrony.texi.in b/chrony.texi.in index faab2eaa..b56fb819 100644 --- a/chrony.texi.in +++ b/chrony.texi.in @@ -3,7 +3,7 @@ @afourwide @paragraphindent 0 @setfilename chrony.info -@settitle User guide for the chrony suite +@settitle User guide for the chrony suite version @CHRONY_VERSION@ @c @setchapternewpage off @ifinfo diff --git a/configure b/configure index 31421491..84f811a3 100755 --- a/configure +++ b/configure @@ -809,11 +809,13 @@ add_def CHRONYD_FEATURES "\"$chronyd_features $common_features\"" echo "Features : $chronyd_features $chronyc_features $common_features" if [ -f version.txt ]; then - add_def CHRONY_VERSION "\"`cat version.txt`\"" + CHRONY_VERSION="`cat version.txt`" else - add_def CHRONY_VERSION "\"DEVELOPMENT\"" + CHRONY_VERSION="DEVELOPMENT" fi +add_def CHRONY_VERSION "\"${CHRONY_VERSION}\"" + for f in Makefile chrony.conf.5 chrony.texi chronyc.1 chronyd.8 do echo Creating $f @@ -838,7 +840,8 @@ do s%@CHRONYSOCKDIR@%${CHRONYSOCKDIR}%;\ s%@CHRONYVARDIR@%${CHRONYVARDIR}%;\ s%@DEFAULT_HWCLOCK_FILE@%${default_hwclockfile}%;\ - s%@DEFAULT_USER@%${default_user}%;"\ + s%@DEFAULT_USER@%${default_user}%;\ + s%@CHRONY_VERSION@%${CHRONY_VERSION}%;" \ < ${f}.in > $f done