postgis.sql.in is now parsed by both sed and cpp

git-svn-id: http://svn.osgeo.org/postgis/trunk@497 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Sandro Santilli 2004-03-29 10:46:19 +00:00
parent aa1f562bca
commit a9c811c642
2 changed files with 308 additions and 308 deletions

View file

@ -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) $< | sed -e 's:@MODULE_FILENAME@:$(MODULE_FILENAME):g;s:@POSTGIS_VERSION@:$(POSTGIS_VERSION):g' > $@
postgis_undef.sql: postgis.sql create_undef.pl
perl create_undef.pl $< $(USE_VERSION) > $@

File diff suppressed because it is too large Load diff