aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-09 16:47:25 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-09 16:47:25 +0000
commit992c109dc43c08999a1d1bda5a73bcb6768e9eb1 (patch)
tree302633e903c876a4b6bed28596dd720ab04e8acb /pbx
parent3f42ded149faaac0faefa29d0e0ba90dc1605686 (diff)
Implement the outcome of a discussion on the -dev list re. the use
of DESTDIR and INSTALL_PATH - many thanks to Tzafrir Cohen and Simon Perreault for extremely useful feedback: 1. comment out the [directories] section the created asterisk.conf ; you can set the correct defaults at build time using INSTALL_PATH, so the repetition here is redundant and often wrong. (The next step now is move asterisk.conf outside the Makefile to asterisk.conf.sample, because there is little if anything here that needs to be constructed at build/install time). 2. use DESTDIR?=$(INSTALL_PATH) so you only need to specify a path once if the two coincide. This should have no ill side effects, because if you don't specify DESTDIR, you really need INSTALL_PATH="" to set the correct defaults, and if you specify DESTDIR the value is not overridden. The second part required moving the 'export DESTDIR' right after the assignment to prevent DESTDIR getting set by the export (this is documented in the Makefile).o hopefully avoid the mistake)$ With this change you can now do something like this from your source tree: make INSTALL_PATH=/some/place install samples and then main/asterisk -vdc which will pick up the correct config files and libraries from /some/place - i.e. great for developers! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@92002 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
0 files changed, 0 insertions, 0 deletions