don't force the sounds to download... only when needed

fix a few buglets i caused in menuselect
remove downloaded sounds on 'dist-clean'


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-06-07 21:05:05 +00:00
parent 0dd82bc6f1
commit 34cf2c13b8
4 changed files with 11 additions and 9 deletions

View File

@@ -37,12 +37,13 @@ MENUSELECT_MOH:=$(subst -FREEPLAY-,-freeplay-,$(MENUSELECT_MOH))
MENUSELECT_MOH:=$(subst -MP3,-mp3,$(MENUSELECT_MOH))
MOH:=$(MENUSELECT_MOH:MOH-%=asterisk-moh-%.tar.gz)
%.gz:
%.tar.gz:
@wget --no-verbose --continue $(SOUNDS_URL)/$@
all: $(CORE_SOUNDS) $(EXTRA_SOUNDS) $(MOH)
clean:
dist-clean:
rm -f *.tar.gz
install: all
mkdir -p $(DESTDIR)$(ASTDATADIR)/sounds