]> granicus.if.org Git - postgis/commitdiff
Try to fix next scripts not being installed on windows by moving linking step to...
authorRegina Obe <lr@pcorp.us>
Sat, 14 Oct 2017 04:27:56 +0000 (04:27 +0000)
committerRegina Obe <lr@pcorp.us>
Sat, 14 Oct 2017 04:27:56 +0000 (04:27 +0000)
Assumption being the fact ANY doesn't exist at time of link is causing problems
References #3901

git-svn-id: http://svn.osgeo.org/postgis/trunk@15980 b70326c6-7e19-0410-871a-916f4a2858ee

extensions/postgis/Makefile.in

index 60b3901ff6bd0d55349595a6feb50e2469a08ac1..05ef5c29a23f7a5c5522f660e8a0c775ab996120 100644 (file)
@@ -134,9 +134,9 @@ install: install-upgrade-paths
 # revisions of the same version
 install-upgrade-paths: sql_bits/postgis_extension_upgrade_minor.sql
        tpl='$(EXTENSION)--ANY--$(EXTVERSION).sql'; \
+       $(INSTALL_DATA) $^ "$(EXTDIR)/$${tpl}"; \
        ln -fs "$${tpl}" $(EXTDIR)/$(EXTENSION)--$(EXTVERSION)--$(EXTVERSION)next.sql; \
        ln -fs "$${tpl}" $(EXTDIR)/$(EXTENSION)--$(EXTVERSION)next--$(EXTVERSION).sql; \
-       $(INSTALL_DATA) $^ "$(EXTDIR)/$${tpl}"; \
        for OLD_VERSION in $(UPGRADEABLE_VERSIONS); do \
                ln -fs "$${tpl}" $(EXTDIR)/$(EXTENSION)--$$OLD_VERSION--$(EXTVERSION).sql; \
        done