From 0e25f7b4e67c58258acce87d78bc0a95d5aa0d75 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Sat, 24 Dec 2011 10:42:40 +0000 Subject: [PATCH] Generate uninstall_topology.sql git-svn-id: http://svn.osgeo.org/postgis/trunk@8556 b70326c6-7e19-0410-871a-916f4a2858ee --- .gitignore | 1 + topology/Makefile.in | 22 +++++++++++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 235d2f39d..e330542c9 100644 --- a/.gitignore +++ b/.gitignore @@ -93,6 +93,7 @@ topology/test/topo_predicates.sql topology/topology.sql topology/topology.sql.in topology/topology_upgrade_20_minor.sql +topology/uninstall_topology.sql authors.git libpgcommon/Makefile libpgcommon/cunit/Makefile diff --git a/topology/Makefile.in b/topology/Makefile.in index 5216cf1d1..75093f3c3 100644 --- a/topology/Makefile.in +++ b/topology/Makefile.in @@ -1,13 +1,30 @@ +# ********************************************************************** +# * $Id$ +# * +# * PostGIS - Spatial Types for PostgreSQL +# * http://postgis.refractions.net +# * +# * Copyright (C) 2010-2011 Sandro Santilli +# * Copyright (C) 2008 Mark Cave-Ayland +# * Copyright (C) 2005 Refractions Research Inc. +# * +# * 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 PGXS build system # +POSTGIS_PGSQL_VERSION=@POSTGIS_PGSQL_VERSION@ + # NOTE: we can't use MODULE_big or PGXS insists in building a library... PGIS_MODULE_big=postgis-@POSTGIS_MAJOR_VERSION@.@POSTGIS_MINOR_VERSION@ MODULEDIR=contrib/$(PGIS_MODULE_big) # Files to be copied to the contrib/ directory -DATA_built=topology.sql topology_upgrade_20_minor.sql +DATA_built=topology.sql topology_upgrade_20_minor.sql uninstall_topology.sql # SQL objects (files requiring C pre-processing) SQL_OBJS=topology.sql.in @@ -51,5 +68,8 @@ topology_upgrade_20_minor.sql: topology.sql topology.sql.in: sql/sqlmm.sql sql/populate.sql sql/polygonize.sql sql/gml.sql sql/query/getnodebypoint.sql sql/query/getedgebypoint.sql sql/query/getfacebypoint.sql sql/query/GetRingEdges.sql sql/manage/TopologySummary.sql sql/manage/CopyTopology.sql sql/manage/ManageHelper.sql +uninstall_topology.sql: topology.sql ../utils/create_undef.pl + $(PERL) ../utils/create_undef.pl $< $(POSTGIS_PGSQL_VERSION) > $@ + check: topology.sql $(MAKE) -C test $@ -- 2.50.1