[Home]

Summary:ASTERISK-10231: [Patch] when using DESTDIR with make, update asterisk.conf too
Reporter:Paul Belanger (pabelanger)Labels:
Date Opened:2007-09-04 13:51:24Date Closed:2011-06-07 14:08:04
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/BuildSystem
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) Makefile.81450.diff
Description:A simple patch to added the $(DESTDIR) variable to asterisk.conf.
Comments:By: Jason Parker (jparker) 2007-09-04 14:42:36

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.

By: Jason Parker (jparker) 2007-09-04 15:16:56

woops, meant to close this