From: Sandro Santilli Date: Tue, 10 Jul 2012 20:27:35 +0000 (+0000) Subject: Create target dir if non-existing X-Git-Tag: 2.1.0beta2~815 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c48b2ed94e0fa251c2b3464499ede5d7de93320e;p=postgis Create target dir if non-existing git-svn-id: http://svn.osgeo.org/postgis/trunk@10039 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/extensions/postgis_topology/Makefile.in b/extensions/postgis_topology/Makefile.in index 860e84720..a75d8309e 100644 --- a/extensions/postgis_topology/Makefile.in +++ b/extensions/postgis_topology/Makefile.in @@ -30,9 +30,11 @@ ifeq ($(PG91),yes) all: sql/$(EXTENSION)--$(EXTVERSION).sql sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql sql_minor_upgrade sql/$(EXTENSION)--$(EXTVERSION).sql: sql/$(EXTENSION).sql + mkdir -p sql cp $< $@ sql/$(EXTENSION).sql: sql_bits/topology.sql sql_bits/mark_editable_objects.sql.in sql_bits/topology_comments.sql + mkdir -p sql cat $^ > $@ #strip BEGIN/COMMIT since these are not allowed in extensions @@ -64,6 +66,7 @@ sql_bits/topology_comments.sql: ../../doc/topology_comments.sql #hardcode for now using #the extensions/make_unpackaged.sql script form an install sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql: sql_bits/topology--unpackaged.sql.in + mkdir -p sql cp $< $@ #upgrade script should have everything but table, schema, type creation/alter