mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
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
This commit is contained in:
@@ -70,7 +70,7 @@ $(SOUNDS_DIR)/.asterisk-core-sounds-fr-%: $(SOUNDS_DIR)/fr
|
|||||||
(cd $(SOUNDS_DIR)/fr; cat $(PWD)/$${PACKAGE} | gzip -d | tar xf -) && \
|
(cd $(SOUNDS_DIR)/fr; cat $(PWD)/$${PACKAGE} | gzip -d | tar xf -) && \
|
||||||
touch $@
|
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; \
|
@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 wget $(WGET_ARGS) $(SOUNDS_URL)/$${PACKAGE}; fi; \
|
||||||
if test ! -f $${PACKAGE}; then exit 1; fi; \
|
if test ! -f $${PACKAGE}; then exit 1; fi; \
|
||||||
@@ -97,7 +97,7 @@ asterisk-moh-%.tar.gz:
|
|||||||
dist-clean:
|
dist-clean:
|
||||||
rm -f *.tar.gz
|
rm -f *.tar.gz
|
||||||
|
|
||||||
$(SOUNDS_DIR) $(MOH_DIR) $(SOUNDS_DIR)/%:
|
$(SOUNDS_DIR) $(MOH_DIR) $(SOUNDS_DIR)/es $(SOUNDS_DIR)/fr:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
install: $(SOUNDS_DIR) $(MOH_DIR) $(CORE_SOUND_TAGS) $(MOH_TAGS)
|
install: $(SOUNDS_DIR) $(MOH_DIR) $(CORE_SOUND_TAGS) $(MOH_TAGS)
|
||||||
|
Reference in New Issue
Block a user