]> git.sur5r.net Git - bacula/docs/blobdiff - docs/update_version
Improve documentation of sysconfdir
[bacula/docs] / docs / update_version
index db455edabe6213a023c8469c380d14b3768f31bd..5fde6850fc8c1c8ccbec0378b249efc06b4229c3 100755 (executable)
@@ -13,7 +13,11 @@ BACULA_SOURCE=$HOME/bee/bacula/bacula/src
 out=/tmp/$$
 VERSION=`sed -n -e 's/^#define VERSION.*"\(.*\)"$/\1/p' ${BACULA_SOURCE}/version.h`
 DATE=`sed -n -e 's/^#define BDATE.*"\(.*\)"$/\1/p' ${BACULA_SOURCE}/version.h`
+echo "New version=${VERSION}  New date=${DATE}"
 echo "s%@VERSION@%${VERSION}%g" >${out}
 echo "s%@DATE@%${DATE}%g" >>${out}
 sed -f ${out} manuals/version.tex.in >manuals/version.tex
+sed -f ${out} manuals/bacula.sty.in >manuals/bacula.sty
 rm -f ${out}
+echo "Updated version to:"
+cat manuals/version.tex