3 --- configs/Makefile.in.orig 2008-05-27 02:50:18.000000000 +0400
4 +++ configs/Makefile.in
6 mv musiconhold.conf.sample.tmp musiconhold.conf.sample
9 - if [ ! -d "$(DESTDIR)${cwconfdir}" ]; \
10 + if [ ! -d "$(DESTDIR)${prefix}/share/examples/callweaver" ]; \
12 - mkdir -p $(DESTDIR)${cwconfdir}; \
13 - chmod 0750 $(DESTDIR)${cwconfdir}; \
14 + mkdir -p $(DESTDIR)${prefix}/share/examples/callweaver; \
15 + chmod 0750 $(DESTDIR)${prefix}/share/examples/callweaver; \
17 if test -z "$(DESTDIR)"; \
19 - chown ${cwrunuser}:${cwrungroup} $(DESTDIR)${cwconfdir}; \
20 + chown ${cwrunuser}:${cwrungroup} $(DESTDIR)${prefix}/share/examples/callweaver; \
22 for samplefile in $(SAMPLES); \
24 configfile=`basename $${samplefile} .sample`; \
25 - if test ! -f $(DESTDIR)${cwconfdir}/$${configfile}; \
26 + if test ! -f $(DESTDIR)${prefix}/share/examples/callweaver/$${configfile}; \
28 - $(INSTALL) -m 0640 $${samplefile} $(DESTDIR)${cwconfdir}/$${configfile}; \
29 + $(INSTALL) -m 0640 $${samplefile} $(DESTDIR)${prefix}/share/examples/callweaver/$${configfile}; \
30 if test -z "$(DESTDIR)"; \
32 - chown ${cwrunuser}:${cwrungroup} $(DESTDIR)${cwconfdir}/$${configfile}; \
33 + chown ${cwrunuser}:${cwrungroup} $(DESTDIR)${prefix}/share/examples/callweaver/$${configfile}; \