From: Sandro Santilli Date: Sat, 24 Dec 2011 09:56:56 +0000 (+0000) Subject: Generate uninstall_rtpostgis.sql (#301) X-Git-Tag: 2.0.0alpha1~336 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e8271a1fa391708f0f4527129b246635f084488;p=postgis Generate uninstall_rtpostgis.sql (#301) git-svn-id: http://svn.osgeo.org/postgis/trunk@8539 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/raster/rt_pg/Makefile.in b/raster/rt_pg/Makefile.in index 5993e8371..6b83af867 100644 --- a/raster/rt_pg/Makefile.in +++ b/raster/rt_pg/Makefile.in @@ -1,18 +1,20 @@ ############################################################################# # $Id$ # -# Copyright (c) 2009 Sandro Santilli +# Copyright (c) 2009-2011 Sandro Santilli # # This is free software; you can redistribute and/or modify it under # the terms of the GNU General Public Licence. See the COPYING file. # ############################################################################# +POSTGIS_PGSQL_VERSION=@POSTGIS_PGSQL_VERSION@ + MODULE_big=rtpostgis-@POSTGIS_MAJOR_VERSION@.@POSTGIS_MINOR_VERSION@ MODULEDIR=contrib/postgis-@POSTGIS_MAJOR_VERSION@.@POSTGIS_MINOR_VERSION@ # Files to be copied to the contrib/ directory -DATA_built=rtpostgis.sql rtpostgis_drop.sql rtpostgis_upgrade_20_minor.sql rtpostgis_upgrade_cleanup.sql +DATA_built=rtpostgis.sql rtpostgis_drop.sql rtpostgis_upgrade_20_minor.sql rtpostgis_upgrade_cleanup.sql uninstall_rtpostgis.sql DATA= # SQL objects (files requiring C pre-processing) @@ -92,5 +94,8 @@ rtpostgis_upgrade.sql: rtpostgis.sql rtpostgis_upgrade_20_minor.sql: rtpostgis_drop.sql rtpostgis_upgrade_cleanup.sql rtpostgis_upgrade.sql cat $^ > $@ +uninstall_rtpostgis.sql: rtpostgis.sql ../../utils/create_undef.pl + $(PERL) ../../utils/create_undef.pl $< $(POSTGIS_PGSQL_VERSION) > $@ + distclean: clean $(RM) Makefile