]> granicus.if.org Git - postgis/commitdiff
liblwgeom depends on postgis_config.h and postgis_svn_revision.h (#1786)
authorSandro Santilli <strk@keybit.net>
Tue, 24 Apr 2012 09:16:17 +0000 (09:16 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 24 Apr 2012 09:16:17 +0000 (09:16 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9656 b70326c6-7e19-0410-871a-916f4a2858ee

NEWS
liblwgeom/Makefile.in

diff --git a/NEWS b/NEWS
index e1184fe3bcf005a9146084e6cabe95a2e0a568ad..ecd013c97bf923bc189dcb21a084e1529a9d8f13 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -17,6 +17,7 @@ PostGIS 2.0.1
 * Enhancements *
 
   - More detailed exception message from topology editing functions.
+  - #1786, improved build dependencies 
 
 PostGIS 2.0.0
 2012/04/03
index 63a7b57c7af6dbcdb670e3ff67e02825c1ddbdd7..53976bff17a40c4a2ece84bd82f4536f7a23a9ea 100644 (file)
@@ -114,6 +114,12 @@ install-liblwgeom: liblwgeom.la
 uninstall-liblwgeom: 
        $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/liblwgeom.la"
 
+# Make all objects depend upon postgis_config.h and postgis_svn_revision.h
+$(LT_OBJS): ../postgis_config.h ../postgis_svn_revision.h
+
+../postgis_svn_revision.h:
+       $(MAKE) -C .. postgis_svn_revision.h
+
 #liblwgeom.a: $(SA_OBJS) $(NM_OBJS) $(SA_HEADERS)
 #ar rs liblwgeom.a $(SA_OBJS) $(NM_OBJS)