Improve vpath support in plperl build

Peter Eisentraut <peter_e@gmx.net>

Commit: 639928c988c1c2f52bbe7ca89e8c7c78a041b3e2
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2017-09-27T15:51:21Z
Releases: 11.0
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>

Files

PathChange+/−
src/pl/plperl/GNUmakefile modified +2 −6