mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 09:02:37 +00:00
Ensure the sql/ dir exists before attempting to write there
See https://travis-ci.org/postgis/postgis/builds/73386848 git-svn-id: http://svn.osgeo.org/postgis/trunk@13859 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
ad80f72f39
commit
abc1824d8c
|
@ -54,6 +54,7 @@ PERL=@PERL@
|
|||
# Borrow the $libdir substitution from PGXS but customise by running the preprocessor
|
||||
# and adding the version number
|
||||
sql/%.sql: %.sql.in
|
||||
mkdir -p sql
|
||||
$(SQLPP) -I../libpgcommon $< | grep -v '^#' | \
|
||||
$(PERL) -lpe "s'MODULE_PATHNAME'\$$libdir/${EXTENSION}-${MINORVERSION}'g" > $@
|
||||
|
||||
|
|
Loading…
Reference in a new issue