Author: file
Date: Tue Jul 24 11:09:20 2007
New Revision: 76791
URL: http://svn.digium.com/view/asterisk?view=rev&rev=76791
Log:
Don't download/install the sound packages if already installed.
Modified:
trunk/sounds/Makefile
Modified: trunk/sounds/Makefile
URL:
http://svn.digium.com/view/asterisk/trunk/sounds/Makefile?view=diff&rev=76791&r1=76790&r2=76791
==============================================================================
--- trunk/sounds/Makefile (original)
+++ trunk/sounds/Makefile Tue Jul 24 11:09:20 2007
@@ -130,13 +130,13 @@
touch $@
asterisk-core-%.tar.gz: have_download
- @if test ! -f $@ ;then $(DOWNLOAD) $(WGET_ARGS) $(SOUNDS_URL)/$@;fi
+ @if test ! -f $@ && test ! -f $(SOUNDS_DIR)/.$(subst .tar.gz,,$@) ;
then $(DOWNLOAD) $(WGET_ARGS) $(SOUNDS_URL)/$@;fi
asterisk-extra-%.tar.gz: have_download
- @if test ! -f $@ ;then $(DOWNLOAD) $(WGET_ARGS) $(SOUNDS_URL)/$@;fi
+ @if test ! -f $@ && test ! -f $(SOUNDS_DIR)/.$(subst .tar.gz,,$@) ;
then $(DOWNLOAD) $(WGET_ARGS) $(SOUNDS_URL)/$@;fi
asterisk-moh-%.tar.gz: have_download
- @if test ! -f $@ ;then $(DOWNLOAD) $(WGET_ARGS) $(SOUNDS_URL)/$@;fi
+ @if test ! -f $@ && test ! -f $(MOH_DIR)/.$(subst .tar.gz,,$@) ; then
$(DOWNLOAD) $(WGET_ARGS) $(SOUNDS_URL)/$@;fi
dist-clean:
rm -f *.tar.gz
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
svn-commits mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/svn-commits