Makefile: pass build_ext in test_pure_python{,_wheel}
authorPaul Brossier <piem@piem.org>
Mon, 3 Oct 2016 14:48:54 +0000 (16:48 +0200)
committerPaul Brossier <piem@piem.org>
Mon, 3 Oct 2016 14:48:54 +0000 (16:48 +0200)
Makefile

index 07e6bcd..3658a73 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -54,7 +54,7 @@ test_pure_python:
        -rm -rf build/ python/gen/
        -rm -f dist/*.egg
        -pip install -v -r requirements.txt
-       CFLAGS=-Os python setup.py bdist_egg
+       CFLAGS=-Os python setup.py build_ext $(ENABLE_DOUBLE) bdist_egg
        [ "$(TRAVIS_OS_NAME)" == "osx" ] && easy_install --user dist/*.egg || \
                easy_install dist/*.egg
        nose2 -N 4
@@ -66,7 +66,7 @@ test_pure_python_wheel:
        -rm -f dist/*.whl
        -pip install -v -r requirements.txt
        -pip install -v wheel
-       CFLAGS=-Os python setup.py bdist_wheel --universal
+       CFLAGS=-Os python setup.py build_ext $(ENABLE_DOUBLE) bdist_wheel --universal
        wheel install dist/*.whl
        nose2 -N 4
        pip uninstall -v -y aubio
@@ -80,6 +80,9 @@ clean_python3:
 clean:
        $(WAFCMD) clean
 
+distclean:
+       $(WAFCMD) distclean
+
 distcheck: checkwaf
        $(WAFCMD) distcheck $(WAFOPTS) $(ENABLE_DOUBLE)