doc: include chrony version in manual title

This commit is contained in:
Miroslav Lichvar 2015-10-14 14:43:47 +02:00
parent 1924481077
commit 59087dd0ff
2 changed files with 7 additions and 4 deletions

View file

@ -3,7 +3,7 @@
@afourwide @afourwide
@paragraphindent 0 @paragraphindent 0
@setfilename chrony.info @setfilename chrony.info
@settitle User guide for the chrony suite @settitle User guide for the chrony suite version @CHRONY_VERSION@
@c @setchapternewpage off @c @setchapternewpage off
@ifinfo @ifinfo

9
configure vendored
View file

@ -809,11 +809,13 @@ add_def CHRONYD_FEATURES "\"$chronyd_features $common_features\""
echo "Features : $chronyd_features $chronyc_features $common_features" echo "Features : $chronyd_features $chronyc_features $common_features"
if [ -f version.txt ]; then if [ -f version.txt ]; then
add_def CHRONY_VERSION "\"`cat version.txt`\"" CHRONY_VERSION="`cat version.txt`"
else else
add_def CHRONY_VERSION "\"DEVELOPMENT\"" CHRONY_VERSION="DEVELOPMENT"
fi fi
add_def CHRONY_VERSION "\"${CHRONY_VERSION}\""
for f in Makefile chrony.conf.5 chrony.texi chronyc.1 chronyd.8 for f in Makefile chrony.conf.5 chrony.texi chronyc.1 chronyd.8
do do
echo Creating $f echo Creating $f
@ -838,7 +840,8 @@ do
s%@CHRONYSOCKDIR@%${CHRONYSOCKDIR}%;\ s%@CHRONYSOCKDIR@%${CHRONYSOCKDIR}%;\
s%@CHRONYVARDIR@%${CHRONYVARDIR}%;\ s%@CHRONYVARDIR@%${CHRONYVARDIR}%;\
s%@DEFAULT_HWCLOCK_FILE@%${default_hwclockfile}%;\ s%@DEFAULT_HWCLOCK_FILE@%${default_hwclockfile}%;\
s%@DEFAULT_USER@%${default_user}%;"\ s%@DEFAULT_USER@%${default_user}%;\
s%@CHRONY_VERSION@%${CHRONY_VERSION}%;" \
< ${f}.in > $f < ${f}.in > $f
done done