[postgis-tickets] r15564 - Drop check-installed-upgrades Makefile rule

Sandro Santilli strk at kbt.io
Mon Aug 21 10:15:14 PDT 2017


Author: strk
Date: 2017-08-21 10:15:14 -0700 (Mon, 21 Aug 2017)
New Revision: 15564

Modified:
   trunk/extensions/upgradeable_versions.mk
Log:
Drop check-installed-upgrades Makefile rule

You can use utils/check_all_upgrades.sh for this

Modified: trunk/extensions/upgradeable_versions.mk
===================================================================
--- trunk/extensions/upgradeable_versions.mk	2017-08-21 03:48:26 UTC (rev 15563)
+++ trunk/extensions/upgradeable_versions.mk	2017-08-21 17:15:14 UTC (rev 15564)
@@ -28,33 +28,3 @@
 	2.3.2 \
 	2.3.3 \
 	2.4.0alpha
-
-# This is to avoid forcing "check-installed-upgrades" as a default
-# rule, see https://trac.osgeo.org/postgis/ticket/3420
-all:
-
-check-installed-upgrades:
-	MODULE=$(EXTENSION); \
-	TOVER=$(EXTVERSION); \
-  EXDIR=`$(PG_CONFIG) --sharedir`/extension; \
-	echo MODULE=$${MODULE}; \
-	echo TOVER=$${TOVER}; \
-	echo EXDIR=$${EXDIR}; \
-  ls $${EXDIR}/$${MODULE}--*--$${TOVER}.sql \
-        | grep -v unpackaged \
-        | while read fname; do \
-    p=`echo "$${fname}" | sed "s/.*$${MODULE}--//;s/\.sql$$//"`;  \
-    FROM=`echo $${p} | sed 's/--.*//'`; \
-    FF="$${EXDIR}/$${MODULE}--$${FROM}.sql"; \
-    if test -f "$${FF}"; then \
-      echo "Testing upgrade path $$p"; \
-      $(MAKE) -C ../.. installcheck \
-        RUNTESTFLAGS="-v --extension --upgrade-path $$p" \
-        || { \
-        echo "Upgrade path $$p failed FF=$${FF}"; \
-        exit 1; }; \
-    else \
-        echo "No install available for upgradeable ext version $${FROM}"; \
-    fi; \
-  done; \
-



More information about the postgis-tickets mailing list