From: Regina Obe Date: Mon, 4 Apr 2011 01:25:27 +0000 (+0000) Subject: #898, #551: generate postgis_upgrade_20_minor.sql, legacy.sql and stop generating... X-Git-Tag: 2.0.0alpha1~1805 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e64e087d515823cb55ef429c386edc1139d78614;p=postgis #898, #551: generate postgis_upgrade_20_minor.sql, legacy.sql and stop generating obsolete 15_minor, 14, 13_14 git-svn-id: http://svn.osgeo.org/postgis/trunk@6997 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis/Makefile.in b/postgis/Makefile.in index 31ab27d8b..d87fdf071 100644 --- a/postgis/Makefile.in +++ b/postgis/Makefile.in @@ -14,11 +14,11 @@ MODULE_big=postgis-@POSTGIS_MAJOR_VERSION@.@POSTGIS_MINOR_VERSION@ MODULEDIR=contrib/$(MODULE_big) # Files to be copied to the contrib/ directory -DATA_built=postgis.sql uninstall_postgis.sql postgis_upgrade_15_minor.sql postgis_upgrade_14_to_15.sql postgis_upgrade_13_to_15.sql +DATA_built=postgis.sql uninstall_postgis.sql postgis_upgrade_20_minor.sql legacy.sql DATA=../spatial_ref_sys.sql # SQL objects (files requiring C pre-processing) -SQL_OBJS=postgis.sql.in uninstall_postgis.sql.in +SQL_OBJS=postgis.sql.in uninstall_postgis.sql.in legacy.sql.in # PostgreSQL objects PG_OBJS=lwgeom_pg.o \ @@ -109,14 +109,8 @@ endif %.sql: %.sql.in sed 's,MODULE_PATHNAME,$$libdir/postgis-@POSTGIS_MAJOR_VERSION@.@POSTGIS_MINOR_VERSION@,g' $< >$@ -postgis_upgrade_15_minor.sql: postgis.sql - $(PERL) ../utils/postgis_proc_upgrade.pl $< 1.5 > $@ - -postgis_upgrade_14_to_15.sql: postgis.sql - $(PERL) ../utils/postgis_proc_upgrade.pl $< 1.4 > $@ - -postgis_upgrade_13_to_15.sql: postgis.sql - $(PERL) ../utils/postgis_proc_upgrade.pl $< 1.3 > $@ +postgis_upgrade_20_minor.sql: postgis.sql + $(PERL) ../utils/postgis_proc_upgrade.pl $< 2.0 > $@ # Generate any .sql.in files from .sql.in.c files by running them through the C pre-processor $(SQL_OBJS): %.in: %.in.c