[asterisk-dev] Bug in SVN-trunk Makefile?
Brian Capouch
brianc at palaver.net
Sat Jan 13 00:19:18 MST 2007
I haven't been on the bugtracker for a while. Couldn't find a way to
post a buglet for SVN-trunk. I selected "Core Asterisk" but the only
choices under "Product Version" were formal release versions. Clue?
There appears to be a bug in the toplevel Makefile, caused by a breakout
of the /var/lib/asterisk/sound directory into subdirectories for various
languages (e.g. en/fr/es, etc.).
Sorry right now I can't post a full diff; I have had to hack up the
Makefile a bit for other reasons to get it to compile under openWRT
kamikaze, and I'm not smart enough yet to properly generate only the
change I want to point up here.
This patch hardwires ~/en, so I'm sure the proper fix won't look like
this anyway.
Thx.
B.
** Snippet of diff begins here **
@@ -549,11 +546,11 @@
mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX
:> $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/unavail.gsm
for x in vm-theperson digits/1 digits/2 digits/3 digits/4
vm-isunavail; do \
- cat $(DESTDIR)$(ASTDATADIR)/sounds/$$x.gsm >>
$(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/unavail.gsm ; \
+ cat $(DESTDIR)$(ASTDATADIR)/sounds/en/$$x.gsm >>
$(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/unavail.gsm ; \
done
:> $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/busy.gsm
for x in vm-theperson digits/1 digits/2 digits/3 digits/4
vm-isonphone; do \
- cat $(DESTDIR)$(ASTDATADIR)/sounds/$$x.gsm >>
$(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/busy.gsm ; \
+ cat $(DESTDIR)$(ASTDATADIR)/sounds/en/$$x.gsm >>
$(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/busy.gsm ; \
done
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the asterisk-dev
mailing list