From 48041cf76fe511967af7e4eccecf5535ade0f207 Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Tue, 6 Sep 2016 03:49:00 +0000 Subject: [PATCH] Add postgis_drop_before and postgis_drop_after scripts back to extension upgrade. Closes #3623 git-svn-id: http://svn.osgeo.org/postgis/trunk@15061 b70326c6-7e19-0410-871a-916f4a2858ee --- postgis/Makefile.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/postgis/Makefile.in b/postgis/Makefile.in index aa736516a..c76773bfd 100644 --- a/postgis/Makefile.in +++ b/postgis/Makefile.in @@ -177,9 +177,8 @@ $(PG_OBJS): ../liblwgeom/.libs/liblwgeom.a ../libpgcommon/libpgcommon.a ../postg $(SQLPP) -I../libpgcommon $< | grep -v '^#' | \ $(PERL) -lpe "s'MODULE_PATHNAME'\$$libdir/postgis-@POSTGIS_MAJOR_VERSION@.@POSTGIS_MINOR_VERSION@'g;s'@extschema@\.''g" > $@ -postgis_upgrade_for_extension.sql: postgis_upgrade_for_extension.sql.in - $(SQLPP) -I../libpgcommon $< | grep -v '^#' | \ - $(PERL) -lpe "s'MODULE_PATHNAME'\$$libdir/postgis-@POSTGIS_MAJOR_VERSION@.@POSTGIS_MINOR_VERSION@'g" > $@ +postgis_upgrade_for_extension.sql: postgis_drop_before.sql postgis_upgrade_for_extension.sql.in postgis_drop_after.sql + cat $^ >> $@ postgis_for_extension.sql: postgis.sql.in $(SQLPP) -I../libpgcommon $< | grep -v '^#' | \ -- 2.40.0