Make sure sharedir/extension/ directory is created when needed.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 1 Dec 2012 21:04:39 +0000 (16:04 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 1 Dec 2012 21:04:39 +0000 (16:04 -0500)
commitb1346822f3048ede254647f3a46186e4c0ec68d6
tree505b5a8ad7fe97dacd997cc4f9b5bd649e3fab29
parent7b90469b71761d240bf5efe3ad5bbd228429278e
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
src/makefiles/pgxs.mk