]> granicus.if.org Git - postgresql/commit
Fix out-of-tree build for transform modules.
authorAndrew Gierth <rhodiumtoad@postgresql.org>
Sun, 16 Sep 2018 17:46:45 +0000 (18:46 +0100)
committerAndrew Gierth <rhodiumtoad@postgresql.org>
Sun, 16 Sep 2018 18:13:59 +0000 (19:13 +0100)
commitf1ca5a654d5db32c2af8b28b7fbca38bbb793f56
treecf0995bc7d96780061a1c925f6d1d304a73e6407
parent0ca27ea66a18cbf9b9bc69443df15a637f26b9b4
Fix out-of-tree build for transform modules.

Neither plperl nor plpython installed sufficient header files to
permit transform modules to be built out-of-tree using PGXS. Fix that
by installing all plperl and plpython header files (other than those
with special purposes such as generated data tables), and also install
plpython's special .mk file for mangling regression tests.

(This commit does not fix the windows install, which does not
currently install _any_ plperl or plpython headers.)

Also fix the existing transform modules for hstore and ltree so that
their cross-module #include directives work as anticipated by commit
df163230b9 et seq. This allows them to serve as working examples of
how to reference other modules when doing separate out-of-tree builds.

Discussion: https://postgr.es/m/87o9ej8bgl.fsf%40news-spur.riddles.org.uk
contrib/hstore_plperl/Makefile
contrib/hstore_plperl/hstore_plperl.c
contrib/hstore_plpython/Makefile
contrib/hstore_plpython/hstore_plpython.c
contrib/ltree_plpython/Makefile
contrib/ltree_plpython/ltree_plpython.c
src/pl/plperl/GNUmakefile
src/pl/plpython/Makefile
src/tools/msvc/Mkvcbuild.pm