Make sure sharedir/extension/ directory is created when needed.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 04f91ae5d0caa5faae7100eac3b0ade6f84e1e9e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2012-12-01T21:04:50Z
Releases: 9.1.7
Make sure sharedir/extension/ directory is created when needed.

The previous coding worked as long as MODULEDIR wasn't set explicitly,
because we create sharedir/$(datamoduledir) and the default value of
that is "extension".  But if some other value is specified for MODULEDIR
then the installation directory needed for the control file wasn't made.

Cédric Villemain

Files

PathChange+/−
src/makefiles/pgxs.mk modified +3 −0