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

Alastair Maw asterisk at almaw.com
Sat Aug 30 07:05:51 MST 2003


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/ ?

-- 
Alastair Maw <al.maw at mxtelecom.com>
MX Telecom - Systems Analyst
http://www.mxtelecom.com




More information about the asterisk-dev mailing list