[asterisk-bugs] [Asterisk 0010641]: [Patch] when using DESTDIR with make, update asterisk.conf too

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Sep 4 14:42:36 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10641 
====================================================================== 
Reported By:                pabelanger
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10641
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 81450 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             09-04-2007 13:51 CDT
Last Modified:              09-04-2007 14:42 CDT
====================================================================== 
Summary:                    [Patch] when using DESTDIR with make, update
asterisk.conf too
Description: 
A simple patch to added the $(DESTDIR) variable to asterisk.conf. 
====================================================================== 

---------------------------------------------------------------------- 
 qwell - 09-04-07 14:42  
---------------------------------------------------------------------- 
Closing, as this is not the purpose of DESTDIR.

Here is a conversation I had with myself on IRC (don't ask)

<Qwell> that would be exactly the opposite of what you would want if
installing into a chroot
<Qwell> if the chroot is /mnt/blah/, and you make install
DESTDIR=/mnt/blah/, you most certainly don't want files pointing to
/mnt/blah/etc/asterisk/blah.conf


Please feel free to discuss on IRC or on the asterisk-dev mailing list.

I believe what you want is the --prefix option to configure. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-04-07 14:42  qwell          Note Added: 0069923                          
======================================================================




More information about the asterisk-bugs mailing list