Re: extension installation faillure using VPATH and MODULEDIR - Mailing list pgsql-bugs

From Tom Lane
Subject Re: extension installation faillure using VPATH and MODULEDIR
Date
Msg-id 17097.1354383852@sss.pgh.pa.us
Whole thread Raw
In response to extension installation faillure using VPATH and MODULEDIR  (Cédric Villemain <cedric@2ndquadrant.com>)
Responses Re: extension installation faillure using VPATH and MODULEDIR
List pgsql-bugs
Cédric Villemain <cedric@2ndquadrant.com> writes:
> 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.

[ scratches head ... ]  What's this have to do with VPATH?

I see the point that if EXTENSION is set, and a nondefault MODULEDIR is
selected, the "install" target puts the control file into the extension
subdirectory which hasn't been made by installdirs.  But that seems not
connected to VPATH builds.
        regards, tom lane



pgsql-bugs by date:

Previous
From: Cédric Villemain
Date:
Subject: extension installation faillure using VPATH and MODULEDIR
Next
From: Cédric Villemain
Date:
Subject: Re: extension installation faillure using VPATH and MODULEDIR