]> granicus.if.org Git - postgis/commitdiff
cpp call for postgis_new.sql creation uses shell redirection for the output file
authorSandro Santilli <strk@keybit.net>
Tue, 2 Mar 2004 11:39:50 +0000 (11:39 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 2 Mar 2004 11:39:50 +0000 (11:39 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@459 b70326c6-7e19-0410-871a-916f4a2858ee

Makefile

index 3caa15c04223d2944fe40853a1f03530840b6d9e..a782673ae7c85be750cb4662d16121bf59c2b48f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -168,7 +168,7 @@ postgis.sql: postgis_sql_common.sql.in postgis_sql_$(USE_VERSION)_end.sql.in pos
        cat postgis_sql_$(USE_VERSION)_start.sql.in postgis_sql_common.sql.in postgis_sql_$(USE_VERSION)_end.sql.in | sed -e 's:@MODULE_FILENAME@:$(MODULE_FILENAME):g;s:@POSTGIS_VERSION@:$(POSTGIS_VERSION):g'  > $@ 
 
 postgis_new.sql: postgis.sql.in
-       cpp -P -traditional-cpp -DUSE_VERSION=$(USE_VERSION) -DMODULE_FILENAME="'$(MODULE_FILENAME)'" -DPOSTGIS_VERSION="'$(POSTGIS_VERSION)'" $< $@
+       cpp -P -traditional-cpp -DUSE_VERSION=$(USE_VERSION) -DMODULE_FILENAME="'$(MODULE_FILENAME)'" -DPOSTGIS_VERSION="'$(POSTGIS_VERSION)'" $< $@
 
 postgis_undef.sql: postgis.sql create_undef.pl
        perl create_undef.pl $< $(USE_VERSION) > $@