[Asterisk-Dev] PATCH: Add DESTDIR support to makefiles

Ben Klang ben at alkaloid.net
Sun Aug 31 17:18:14 MST 2003


Thank you for noting this... I had just seen this behavior myself.

I believe the 'proper' thing to do is respect the given prefix and put
it in /usr/local/etc, not /etc.

-BAK

On Sat, 2003-08-30 at 10:05, Alastair Maw wrote:
> Jake Morrison wrote:
> > I have added DESTDIR support to the Asterisk makefiles.
> 
> As noted by other posters, please don't hit reply in your e-mail client 
> when starting a new thread - it breaks threading in clueful clients by 
> adding an In-Reply-To header which shouldn't be there. Thanks. :)
> 
> > It is different from INSTALL_PREFIX, which specifies
> > a prefix for the final location of the installed files. 
> 
> Talking of which, INSTALL_PREFIX doesn't seem to behave properly. I'd 
> expect the following...
> 
>    make INSTALL_PREFIX=/usr/local install
> 
> ...to install Asterisk into:
>    /usr/local/lib/asterisk/
>    /usr/local/sbin/asterisk/
>    /usr/local/include/asterisk/
>    etc.
> 
> But it doesn't. It puts things in /usr/local/usr/lib/asterisk/ etc. 
> libpri is the same. If we patch the makefiles for libpri and asterisk, 
> should they still put things in /etc/ and /var/ or should they go in 
> /usr/local/etc/ and /usr/local/var/ ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20030831/d90968e4/attachment.pgp


More information about the asterisk-dev mailing list