pgsql: Improve vpath support in plperl build

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve vpath support in plperl build
Date: 2017-09-27 15:51:49
Message-ID: E1dxEcn-0007A5-Bu@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)paquier(at)gmail(dot)com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/639928c988c1c2f52bbe7ca89e8c7c78a041b3e2

Modified Files
--------------
src/pl/plperl/GNUmakefile | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Dean Rasheed 2017-09-27 16:26:27 pgsql: Improve the CREATE POLICY documentation.
Previous Message Peter Eisentraut 2017-09-27 15:28:04 pgsql: Get rid of parameterized marked sections in SGML