Skip to content

Commit

Permalink
Create geos_svn_revision.h in the source tree
Browse files Browse the repository at this point in the history
It's a generated source, should always be in the tarball anyway

git-svn-id: http://svn.osgeo.org/geos/trunk@3799 5242fede-7e19-0410-aef8-94bd7d2200fb
  • Loading branch information
Sandro Santilli committed May 23, 2013
1 parent 617f593 commit 04fde13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ svnrebase: authors.git
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
2 changes: 1 addition & 1 deletion tools/svn_repo_revision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 04fde13

Please sign in to comment.