#!/bin/sh
#
# Script file to update the Bacula version
#
out=/tmp/$$
VERSION=`sed -n -e 's/^.*VERSION.*"\(.*\)"$/\1/p' /tmp/git/bacula/src/version.h`
DATE=`sed -n -e 's/^.*[ \t]*BDATE.*"\(.*\)"$/\1/p' /tmp/git/bacula/src/version.h`
. /tmp/release/bacula-docs-5.0.0/manuals/do_echo
sed -f ${out} /tmp/release/bacula-docs-5.0.0/manuals/version.tex.in >version.tex
rm -f ${out}
