]> granicus.if.org Git - postgresql/commit
Improve vpath support in plperl build
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 11 Aug 2017 03:33:47 +0000 (23:33 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 27 Sep 2017 15:51:21 +0000 (11:51 -0400)
commit639928c988c1c2f52bbe7ca89e8c7c78a041b3e2
treea319bacfd48d8914052a18c78eb3191af5e55693
parent684cf76b83e9dc8aed12aeb9131d2208f61bd31f
Improve vpath support in plperl build

Run xsubpp with the -output option instead of redirecting stdout.  That
ensures that the #line directives in the output file point to the right
place in a vpath build.  This in turn fixes an error in coverage builds
that it can't find the source files.

Refactor the makefile rules while we're here.

Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
src/pl/plperl/GNUmakefile