[Asterisk-bsd] install prefix

Jeff Rizzo riz+asterisk at boogers.sf.ca.us
Sat Nov 13 19:09:04 CST 2004


Right... forgot about that annoying bit. my main criterion was just 
keeping it out of the system paths...

I suppose editing those vars is the only option.

(sorry)

+j

Randy Bush wrote:

>>Unless I'm missing something here, all you need to do is edit 
>>INSTALL_PREFIX in the top-level Makefile.
>>    
>>
>
>and then
>
>ASTLIBDIR=$(INSTALL_PREFIX)/usr/lib/asterisk
>ASTVARLIBDIR=$(INSTALL_PREFIX)/var/lib/asterisk
>ASTETCDIR=$(INSTALL_PREFIX)/etc/asterisk
>ASTSPOOLDIR=$(INSTALL_PREFIX)/var/spool/asterisk
>ASTLOGDIR=$(INSTALL_PREFIX)/var/log/asterisk
>ASTHEADERDIR=$(INSTALL_PREFIX)/usr/include/asterisk
>ASTCONFPATH=$(ASTETCDIR)/asterisk.conf
>ASTBINDIR=$(INSTALL_PREFIX)/usr/bin
>ASTSBINDIR=$(INSTALL_PREFIX)/usr/sbin
>ASTVARRUNDIR=$(INSTALL_PREFIX)/var/run
>ASTMANDIR=$(INSTALL_PREFIX)/usr/share/man
>
>produces wonderful stuff like
>
>ASTLIBDIR=/usr/local/usr/lib/asterisk
>
>randy
>  
>



More information about the Asterisk-BSD mailing list