Explicitly call svn_repo_revision.pl to ensure we have an svn number to read
References #4047 for PostGIS 2.5 (trunk)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16476
b70326c6-7e19-0410-871a-
916f4a2858ee
--with-geosconfig=${PROJECTS}/geos/rel-${GEOS_VER}w${OS_BUILD}/bin/geos-config \
--without-raster
make clean
-export VREV=`cat postgis_svn_revision.h | awk '{print $3}'`
+
+# generating postgis_svn_revision.h in case hasn't been generated
+if test -f utils/svn_repo_revision.pl; then
+ echo "Generating postgis_svn_revision.h"
+ perl utils/svn_repo_revision.pl
+fi
+export VREV="`cat postgis_svn_revision.h | awk '{print $3}'`"
echo "SVN is ${VREV}"
cd doc