[postgis-tickets] [SCM] PostGIS branch master updated. 3.2.0-548-g875fb5bd1

git at osgeo.org git at osgeo.org
Wed Feb 16 17:00:27 PST 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  875fb5bd1c4f2a972583578a7267e1f78c63e144 (commit)
      from  2e487f25994327c630cd296e6df1d2be8ede4fd6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 875fb5bd1c4f2a972583578a7267e1f78c63e144
Author: Sandro Santilli <strk at kbt.io>
Date:   Thu Feb 17 02:00:09 2022 +0100

    Further simplify protobuf Makefile targets

diff --git a/postgis/Makefile.in b/postgis/Makefile.in
index 02525326e..cb8644539 100644
--- a/postgis/Makefile.in
+++ b/postgis/Makefile.in
@@ -218,17 +218,13 @@ $(FLATGEOBUF_LIBPATH):
 # Get protobuf-c compiler command
 PROTOCC=@PROTOCC@
 
-# Generate Mapbox Vector Tile encoder/decoder using protobuf-c compiler
-vector_tile.pb-c.c: vector_tile.proto
-	$(PROTOCC) -I at srcdir@ --c_out=. $<
-
-# Generate Geobuf encoder/decoder using protobuf-c compiler
-geobuf.pb-c.c: geobuf.proto
+# Generate Mapbox Vector Tile and Geobuf encoder/decoders using protobuf-c compiler
+%.pb-c.c: %.proto
 	$(PROTOCC) -I at srcdir@ --c_out=. $<
 
 ifeq (@HAVE_PROTOBUF@,yes)
-lwgeom_out_mvt.o mvt.o vector_tile.pb-c.o: vector_tile.pb-c.c
-lwgeom_out_geobuf.o geobuf.o geobuf.pb-c.o: geobuf.pb-c.c
+lwgeom_out_mvt.o mvt.o: vector_tile.pb-c.c
+lwgeom_out_geobuf.o geobuf.o: geobuf.pb-c.c
 endif
 
 # Borrow the $libdir substitution from PGXS but customise by running the preprocessor

-----------------------------------------------------------------------

Summary of changes:
 postgis/Makefile.in | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list