the attached patch fix the extension installation using a VPATH when a
MODULEDIR is defined in the extension Makefile.
The current issue is that the sharedir/extension directory is not created if
MODULEDIR != 'extension' i.e. MODULEDIR is defined in the Makefile. Thus 'make
install' fail to copy the control file in an nonexistent directory.
Tested with debian extension packages.
--
Cédric Villemain +33 (0)6 20 30 22 52
http://2ndQuadrant.fr/
PostgreSQL: Support 24x7 - Développement, Expertise et Formation