Thread: pg_bsd_indent vs vpath

pg_bsd_indent vs vpath

From
Andrew Dunstan
Date:


Looks like we need a little magic to allow pg_bsd_indent to be part of a vpath build:


<https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=fairywren&dt=2023-03-23%2014%3A21%3A08&stg=module-pg_bsd_indent-check>


It succeeded if I added this to the Makefile:


CFLAGS += -I$(srcdir)


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

Re: pg_bsd_indent vs vpath

From
Tom Lane
Date:
Andrew Dunstan <andrew@dunslane.net> writes:
> Looks like we need a little magic to allow pg_bsd_indent to be part of a 
> vpath build:

Yeah, I think I fixed that at dccef0f2f, but fairywren hasn't run since.
(I'd thought that it was some weird Msys-ism, but if you say it's VPATH
then all is clear, other than why we didn't notice already.)

            regards, tom lane



Re: pg_bsd_indent vs vpath

From
Andrew Dunstan
Date:


On 2023-03-23 Th 16:46, Tom Lane wrote:
Andrew Dunstan <andrew@dunslane.net> writes:
Looks like we need a little magic to allow pg_bsd_indent to be part of a 
vpath build:
Yeah, I think I fixed that at dccef0f2f, but fairywren hasn't run since.
(I'd thought that it was some weird Msys-ism, but if you say it's VPATH
then all is clear, other than why we didn't notice already.)
			



The code to pick up src/tools isn't in released code yet, and I just updated fairywren from git to test some other code.


Anyway, it's all good, fairywren is now building this happily.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com