Improve support for building PGXS modules with VPATH.

Andrew Dunstan <andrew@dunslane.net>

Commit: 6697aa2bc25c83b88d6165340348a31328c35de6
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2013-07-01T16:53:05Z
Releases: 9.4.0
Improve support for building PGXS modules with VPATH.

A VPATH build will be performed when the module's make file path is not
the current directory or when USE_VPATH is set.

This will assist packagers and others who prefer to build without
polluting the source directories.

There is still a bit of work to do here, notably documentation, but it's
probably a good idea to commit what we have so far and let people test
it out on their modules.

Cédric Villemain, with an addition from me.

Files

PathChange+/−
src/Makefile.global.in modified +11 −1
src/makefiles/pgxs.mk modified +38 −18