Peter Eisentraut <peter(at)eisentraut(dot)org> writes:
> Why does pgindent require that pg_bsd_indent be installed in the path?
> Couldn't pgindent call the pg_bsd_indent built inside the tree? That
> would make the whole process much smoother.
Well, the current expectation is that you run it in a distclean'd
tree, in which case it won't be there. VPATH builds would have
a problem finding it as well.
I'm not sure if there's any problem in applying it in a built-out
tree, but the VPATH scenario seems like a problem in any case,
especially since (IIUC) meson builds have to be done that way.
I wouldn't object to adding more logic to the calling script
to support multiple usage scenarios, of course.
regards, tom lane