]> granicus.if.org Git - postgis/commitdiff
Be quiet when postgis_svn_revision.h isn't needed (#1666)
authorSandro Santilli <strk@keybit.net>
Sat, 10 Mar 2012 10:27:28 +0000 (10:27 +0000)
committerSandro Santilli <strk@keybit.net>
Sat, 10 Mar 2012 10:27:28 +0000 (10:27 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9443 b70326c6-7e19-0410-871a-916f4a2858ee

make_dist.sh

index c78bc7e205d3786c7e2e2e51365bf4fd74dfdc71..46f9f294d8ea93d1b738414a4500c53cdec1e70f 100755 (executable)
@@ -46,9 +46,13 @@ rm -fv "$outdir"/make_dist.sh "$outdir"/HOWTO_RELEASE
 echo "Running autogen.sh; ./configure"
 owd="$PWD"
 cd "$outdir"
-perl utils/svn_repo_revision.pl $svnurl
 ./autogen.sh
 ./configure
+# generating postgis_svn_revision.h for >= 2.0.0 tags 
+if test -f utils/svn_repo_revision.pl; then 
+       echo "Generating postgis_svn_revision.h"
+       perl utils/svn_repo_revision.pl $svnurl
+fi
 #make
 cd "$owd"