[postgis-tickets] [SCM] PostGIS branch master updated. 3.2.0-859-gbd04b787f

git at osgeo.org git at osgeo.org
Tue May 17 02:58:25 PDT 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  bd04b787f49509ef13801c72a0ebc981669e982c (commit)
      from  940834bd094e75a504b537234c453a0d1f115d5c (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 bd04b787f49509ef13801c72a0ebc981669e982c
Author: Sandro Santilli <strk at kbt.io>
Date:   Tue May 17 11:55:48 2022 +0200

    Fix out-of-build install of topology import/export scripts
    
    References #5116

diff --git a/topology/Makefile.in b/topology/Makefile.in
index f650586db..03372e862 100644
--- a/topology/Makefile.in
+++ b/topology/Makefile.in
@@ -30,7 +30,6 @@ endif
 # Files to be copied to the contrib/ directory
 DATA_built=topology.sql topology_upgrade.sql uninstall_topology.sql
 
-SCRIPTS = loader/pgtopo_import loader/pgtopo_export
 
 # SQL preprocessor
 SQLPP = @SQLPP@
@@ -74,7 +73,10 @@ PGXS := @PGXS@
 NO_TEMP_INSTALL=yes
 include $(PGXS)
 
+top_builddir = @top_builddir@
 VPATH := @srcdir@
+INSTALL = @INSTALL@
+LIBTOOL = @LIBTOOL@
 
 # Set PERL _after_ the include of PGXS
 PERL=@PERL@
@@ -158,3 +160,14 @@ clean-subdirs:
 
 distclean: clean
 	rm -f Makefile test/Makefile
+
+installdir:
+	mkdir -p $(DESTDIR)$(bindir)
+
+install: install-importer install-exporter
+
+install-importer: loader/pgtopo_import | installdir
+	$(LIBTOOL) --mode=install $(INSTALL) $^ "$(DESTDIR)$(bindir)/pgtopo_import"
+
+install-exporter: loader/pgtopo_export | installdir
+	$(LIBTOOL) --mode=install $(INSTALL) $^ "$(DESTDIR)$(bindir)/pgtopo_export"

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

Summary of changes:
 topology/Makefile.in | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list