mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 17:12:35 +00:00
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:
parent
aa1f562bca
commit
a9c811c642
2
Makefile
2
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) $< | 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) > $@
|
||||
|
|
614
postgis.sql.in
614
postgis.sql.in
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue