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