]> granicus.if.org Git - postgis/commitdiff
Fix for #1969 (and test buildbot) make postgis_upgrade_21_minor.sql same as postgis_u...
authorRegina Obe <lr@pcorp.us>
Tue, 28 Aug 2012 00:05:33 +0000 (00:05 +0000)
committerRegina Obe <lr@pcorp.us>
Tue, 28 Aug 2012 00:05:33 +0000 (00:05 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10202 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/Makefile.in

index 3464d00c694a0a7daffed350edf7116574debe0e..a0f4312b192ccd75dc86fa2987faaa6d189b101e 100644 (file)
@@ -15,7 +15,7 @@ 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_20_21.sql legacy.sql uninstall_legacy.sql legacy_minimal.sql
+DATA_built=postgis.sql uninstall_postgis.sql postgis_upgrade_20_21.sql postgis_upgrade_21_minor.sql legacy.sql uninstall_legacy.sql legacy_minimal.sql
 DATA=../spatial_ref_sys.sql
 
 # SQL preprocessor
@@ -136,6 +136,10 @@ postgis_upgrade_20_21.sql.in: postgis_drop_before.sql postgis.sql postgis_drop_a
        cat $^ > $@
 postgis_upgrade_20_21.sql: postgis_upgrade_20_21.sql.in ../utils/postgis_proc_upgrade.pl 
        $(PERL) ../utils/postgis_proc_upgrade.pl $< 2.0 > $@
+       
+#this is same as 20_21 until we release a 2.1.0        
+postgis_upgrade_21_minor.sql: postgis_upgrade_20_21.sql
+       cp $< $@
 
 # Generate any .sql.in files from .sql.in.c files by running them through the SQL pre-processor 
 $(SQL_OBJS): %.in: %.in.c