[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0beta2-33-gbfcf1fe96
git at osgeo.org
git at osgeo.org
Wed Aug 3 22:59:49 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 bfcf1fe960f4be78bd958933b7d2c66e35d8e660 (commit)
from c771aeb28e9cefceb1b44aa86b1e5bb4e19f7b29 (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 bfcf1fe960f4be78bd958933b7d2c66e35d8e660
Author: Sandro Santilli <strk at kbt.io>
Date: Sat Jul 30 07:11:19 2022 +0200
Use upgrade-paths-rules from geocoder, don't re-implement it
diff --git a/extensions/postgis_tiger_geocoder/Makefile.in b/extensions/postgis_tiger_geocoder/Makefile.in
index a0a3fd578..559451cae 100644
--- a/extensions/postgis_tiger_geocoder/Makefile.in
+++ b/extensions/postgis_tiger_geocoder/Makefile.in
@@ -202,34 +202,11 @@ sql/tiger_geocoder_upgrade_minor.sql: sql/tiger_geocoder_minor.sql.in | sql
sed -e 's/BEGIN;//g' -e 's/COMMIT;//g' \
$< > $@
-EXTDIR=$(DESTDIR)$(datadir)/$(datamoduledir)
-
-install: install-upgrade-paths
-
-# The "next" lines are a cludge to allow upgrading between different
-# revisions of the same version
-install-upgrade-paths:
- tpl='$(EXTENSION)--ANY--$(EXTVERSION).sql'; \
- $(INSTALL_DATA) sql/$${tpl} "$(EXTDIR)/$${tpl}"; \
- ln -fs "$${tpl}" $(EXTDIR)/$(EXTENSION)--$(EXTVERSION)--$(EXTVERSION)next.sql; \
- ln -fs "$${tpl}" $(EXTDIR)/$(EXTENSION)--$(EXTVERSION)next--$(EXTVERSION).sql; \
- for OLD_VERSION in $(UPGRADEABLE_VERSIONS); do \
- ln -fs "$${tpl}" $(EXTDIR)/$(EXTENSION)--$$OLD_VERSION--$(EXTVERSION).sql; \
- done
-
-uninstall: uninstall-upgrade-paths
-
-INSTALLED_UPGRADE_SCRIPTS = \
- $(wildcard $(EXTDIR)/*$(EXTVERSION).sql) \
- $(wildcard $(EXTDIR)/*$(EXTVERSION)next.sql) \
- $(NULL)
-
-uninstall-upgrade-paths:
- rm -f $(INSTALLED_UPGRADE_SCRIPTS)
-
#only extension files
EXTRA_CLEAN += $(wildcard expected/*--*.out)
+include @srcdir@/../upgrade-paths-rules.mk
+
distclean: clean
rm Makefile
-----------------------------------------------------------------------
Summary of changes:
extensions/postgis_tiger_geocoder/Makefile.in | 27 ++-------------------------
1 file changed, 2 insertions(+), 25 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list