From: Kevin P. Fleming Date: Wed, 19 Jul 2006 18:50:55 +0000 (+0000) Subject: make installation of French and Spanish sounds work properly X-Git-Tag: 1.4.0-beta1~549 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=54e1f06c463bf72fa730f9be042d62f4ee2c4593;p=thirdparty%2Fasterisk.git make installation of French and Spanish sounds work properly git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37974 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/sounds/Makefile b/sounds/Makefile index b8ed182c9b..331f4f359f 100644 --- a/sounds/Makefile +++ b/sounds/Makefile @@ -70,7 +70,7 @@ $(SOUNDS_DIR)/.asterisk-core-sounds-fr-%: $(SOUNDS_DIR)/fr (cd $(SOUNDS_DIR)/fr; cat $(PWD)/$${PACKAGE} | gzip -d | tar xf -) && \ touch $@ -$(SOUNDS_DIR)/.asterisk-core-sounds-fr-%: $(SOUNDS_DIR)/es +$(SOUNDS_DIR)/.asterisk-core-sounds-es-%: $(SOUNDS_DIR)/es @PACKAGE=$(subst $(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \ if test ! -f $${PACKAGE}; then wget $(WGET_ARGS) $(SOUNDS_URL)/$${PACKAGE}; fi; \ if test ! -f $${PACKAGE}; then exit 1; fi; \ @@ -97,7 +97,7 @@ asterisk-moh-%.tar.gz: dist-clean: rm -f *.tar.gz -$(SOUNDS_DIR) $(MOH_DIR) $(SOUNDS_DIR)/%: +$(SOUNDS_DIR) $(MOH_DIR) $(SOUNDS_DIR)/es $(SOUNDS_DIR)/fr: mkdir -p $@ install: $(SOUNDS_DIR) $(MOH_DIR) $(CORE_SOUND_TAGS) $(MOH_TAGS)