shithub: aubio

Download patch

ref: e372a0f682d3d9faca898a7bf038e09b228cb14e
parent: 572001c08f4659633ed0d364ae2f3b091842fef9
author: Paul Brossier <piem@piem.org>
date: Thu Apr 21 20:59:20 EDT 2016

Makefile: distcheck only needs checkwaf, split configure

--- a/Makefile
+++ b/Makefile
@@ -15,10 +15,12 @@
 	@sed '/^#==>$$/,$$d' waf > waf2 && mv waf2 waf
 	@chmod +x waf
 
-build: checkwaf
-	./waf configure
-	./waf build
+configure: checkwaf
+	$(WAFCMD) configure
 
+build: configure
+	$(WAFCMD) build
+
 build_python:
 	cd python && ./setup.py build
 
@@ -34,7 +36,7 @@
 clean:
 	$(WAFCMD) clean
 
-distcheck: build
+distcheck: checkwaf
 	$(WAFCMD) distcheck
 
 help: