#inject a development time stamp if we are in development branch
if [[ "$POSTGIS_MICRO_VERSION" == *"dev"* ]]; then
export GIT_TIMESTAMP=`git log -1 --pretty=format:%ct`
- sed -e "s:</title>:</title><subtitle><subscript>DEV TIMESTAMP (<emphasis>${GIT_TIMESTAMP}</emphasis>)</subscript></subtitle>:" postgis.xml.orig > postgis.xml
+ export VREV=`cat "$outdir"/postgis_svn_revision.h | awk '{print $3}'`
+ sed -e "s:</title>:</title><subtitle><subscript>REV: $VREV DEV TIMESTAMP (<emphasis>${GIT_TIMESTAMP}</emphasis>)</subscript></subtitle>:" postgis.xml.orig > postgis.xml
fi
make pdf