From: Sandro Santilli Date: Mon, 16 Mar 2015 09:57:04 +0000 (+0000) Subject: Generate pom.xml at configure time (#2626) X-Git-Tag: 2.2.0rc1~596 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e78c75b71a3c4929a5e918e904a68efa4299fa24;p=postgis Generate pom.xml at configure time (#2626) git-svn-id: http://svn.osgeo.org/postgis/trunk@13337 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/.gitignore b/.gitignore index 633d1244c..678901142 100644 --- a/.gitignore +++ b/.gitignore @@ -59,6 +59,7 @@ extensions/postgis_topology/sql_bits/*.sql GNUmakefile java/jdbc/Makefile java/jdbc/lib/ +java/jdbc/pom.xml java/jdbc/target/ liblwgeom/cunit/cu_tester liblwgeom/cunit/Makefile diff --git a/java/jdbc/Makefile.in b/java/jdbc/Makefile.in index 0295ca508..e7cd94e07 100644 --- a/java/jdbc/Makefile.in +++ b/java/jdbc/Makefile.in @@ -11,9 +11,18 @@ # ********************************************************************** ANT=@ANT@ +POSTGIS_LIB_VERSION=@POSTGIS_LIB_VERSION@ all: build +pom.xml: pom.xml.in + sed 's,%VERSION%,$(POSTGIS_LIB_VERSION),g' $< >$@ + +distclean: + rm -f pom.xml + +build: pom.xml + build clean distclean check: $(ANT) $@ diff --git a/java/jdbc/pom.xml b/java/jdbc/pom.xml.in similarity index 99% rename from java/jdbc/pom.xml rename to java/jdbc/pom.xml.in index 15683e6b8..97d9163ae 100644 --- a/java/jdbc/pom.xml +++ b/java/jdbc/pom.xml.in @@ -11,7 +11,7 @@ org.postgis postgis-jdbc - 2.2.0dev + %VERSION% jar Postgis JDBC Driver http://postgis.net