From: Paul Brossier Date: Wed, 20 Jul 2016 23:00:12 +0000 (+0200) Subject: Makefile: use wget or curl X-Git-Tag: 0.4.4~287 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=288c193c1ae42b733aab160da1fc0cd25a74d68e;p=aubio.git Makefile: use wget or curl --- diff --git a/Makefile b/Makefile index 2e691203..56caf0c7 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ checkwaf: @[ -f waf ] || make getwaf getwaf: - curl https://waf.io/waf-1.8.20 > waf + @( which wget > /dev/null && wget -qO waf $(WAFURL) ) || ( which curl > /dev/null && curl $(WAFURL) > waf ) @chmod +x waf expandwaf: