]> git.sur5r.net Git - bacula/docs/blob - docs/manuals/update_version.in
Tweak bacula.org html meta data
[bacula/docs] / docs / manuals / update_version.in
1 #!/bin/sh
2 #
3 # Script file to update the Bacula version
4 #
5 out=/tmp/$$
6 VERSION=`sed -n -e 's/^#define VERSION.*"\(.*\)"$/\1/p' @bacula@/src/version.h`
7 DATE=`sed -n -e 's/^#define BDATE.*"\(.*\)"$/\1/p' @bacula@/src/version.h`
8 . @BUILD_DIR@/manuals/do_echo
9 sed -f ${out} @BUILD_DIR@/manuals/version.tex.in >version.tex
10 rm -f ${out}