[postgis-tickets] r15042 - fix extensions build
Sandro Santilli
strk at kbt.io
Mon Aug 8 14:08:33 PDT 2016
Author: strk
Date: 2016-08-08 14:08:32 -0700 (Mon, 08 Aug 2016)
New Revision: 15042
Modified:
trunk/extensions/postgis/Makefile.in
trunk/extensions/postgis_tiger_geocoder/Makefile.in
trunk/extensions/postgis_topology/Makefile.in
Log:
fix extensions build
Patch by Dmitry Vasilyev <vadv.mkn at gmail.com>
Modified: trunk/extensions/postgis/Makefile.in
===================================================================
--- trunk/extensions/postgis/Makefile.in 2016-08-06 13:05:04 UTC (rev 15041)
+++ trunk/extensions/postgis/Makefile.in 2016-08-08 21:08:32 UTC (rev 15042)
@@ -76,6 +76,7 @@
#strip BEGIN/COMMIT since these are not allowed in extensions
sql_bits/rtpostgis.sql: ../../raster/rt_pg/rtpostgis_for_extension.sql
+ mkdir -p sql_bits
$(PERL) -pe 's/BEGIN\;//g ; s/COMMIT\;//g' $< > $@
sql_bits/spatial_ref_sys_config_dump.sql: ../../spatial_ref_sys.sql ../../utils/create_spatial_ref_sys_config_dump.pl
Modified: trunk/extensions/postgis_tiger_geocoder/Makefile.in
===================================================================
--- trunk/extensions/postgis_tiger_geocoder/Makefile.in 2016-08-06 13:05:04 UTC (rev 15041)
+++ trunk/extensions/postgis_tiger_geocoder/Makefile.in 2016-08-08 21:08:32 UTC (rev 15042)
@@ -48,6 +48,7 @@
expected/test-normalize_address.out: sql_bits/test_tuples_only_unaligned.sql.in ../../extras/tiger_geocoder/regress/normalize_address_regress
+ mkdir -p expected
cat $^ > $@
expected/test-pagc_normalize_address.out: sql_bits/test_tuples_only_unaligned.sql.in ../../extras/tiger_geocoder/regress/pagc_normalize_address_regress
Modified: trunk/extensions/postgis_topology/Makefile.in
===================================================================
--- trunk/extensions/postgis_topology/Makefile.in 2016-08-06 13:05:04 UTC (rev 15041)
+++ trunk/extensions/postgis_topology/Makefile.in 2016-08-08 21:08:32 UTC (rev 15042)
@@ -71,7 +71,8 @@
#they can be dropped but we need to remove
#them from the extension first
sql/topology_upgrade.sql: ../../topology/topology_upgrade.sql
- sed -e 's/BEGIN;//g' -e 's/COMMIT;//g' -e '/^CREATE SCHEMA/d;' $< > $@
+ mkdir -p sql
+ sed -e 's/BEGIN;//g' -e 's/COMMIT;//g' -e '/^CREATE SCHEMA/d;' $< > $@
sql_minor_upgrade: extlock.sql ../postgis_extension_helper.sql sql_bits/remove_from_extension.sql.in sql/topology_upgrade.sql sql_bits/mark_editable_objects.sql.in sql_bits/topology_comments.sql ../postgis_extension_helper_uninstall.sql
for OLD_VERSION in $(UPGRADEABLE_VERSIONS); do \
More information about the postgis-tickets
mailing list