[geos-commits] r3799 - in trunk: . tools

svn_geos at osgeo.org svn_geos at osgeo.org
Thu May 23 10:21:38 PDT 2013


Author: strk
Date: 2013-05-23 10:21:38 -0700 (Thu, 23 May 2013)
New Revision: 3799

Modified:
   trunk/Makefile.am
   trunk/tools/svn_repo_revision.sh
Log:
Create geos_svn_revision.h in the source tree

It's a generated source, should always be in the tarball anyway

Modified: trunk/Makefile.am
===================================================================
--- trunk/Makefile.am	2013-05-23 15:51:13 UTC (rev 3798)
+++ trunk/Makefile.am	2013-05-23 17:21:38 UTC (rev 3799)
@@ -40,6 +40,6 @@
 	cd $(srcdir) && git svn rebase --authors-file authors.git
 
 geos_svn_revision.h:
-	sh $(srcdir)/tools/svn_repo_revision.sh $<
+	top_srcdir=$(srcdir) sh $(srcdir)/tools/svn_repo_revision.sh
 
 .PHONY: geos_svn_revision.h

Modified: trunk/tools/svn_repo_revision.sh
===================================================================
--- trunk/tools/svn_repo_revision.sh	2013-05-23 15:51:13 UTC (rev 3798)
+++ trunk/tools/svn_repo_revision.sh	2013-05-23 17:21:38 UTC (rev 3799)
@@ -2,7 +2,7 @@
 
 LC_ALL="C" # what for ?
 
-top_srcdir="."
+[ -z "$top_srcdir" ] && top_srcdir="."
 rev_file=$top_srcdir'/geos_svn_revision.h'
 
 read_rev() {



More information about the geos-commits mailing list