]> granicus.if.org Git - postgis/commitdiff
#898, #551: generate postgis_upgrade_20_minor.sql, legacy.sql and stop generating...
authorRegina Obe <lr@pcorp.us>
Mon, 4 Apr 2011 01:25:27 +0000 (01:25 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 4 Apr 2011 01:25:27 +0000 (01:25 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6997 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/Makefile.in

index 31ab27d8b3ba1220b591572c6e9512a568eb98b4..d87fdf071721223581fbbae44d62bf8202243965 100644 (file)
@@ -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