Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
> On 10.05.21 20:26, Peter Eisentraut wrote:
>> The reason this is there is that the test suite uses PGXS to build the
>> test program, and so things get installed automatically. I suggest that
>> we should either write out the build system by hand to avoid this, or
>> maybe extend PGXS to support building programs but not installing them.
> Here is a patch that implements the second solution, which turned out to
> be very easy.
+1, except that you should add documentation for NO_INSTALL to the
list of definable symbols at the head of pgxs.mk, and to the list
in extend.sgml (compare that for NO_INSTALLCHECK).
regards, tom lane