From: Paul Brossier Date: Tue, 15 Oct 2013 21:52:52 +0000 (+0200) Subject: wscript: improve dist target X-Git-Tag: 0.4.0-beta1~110^2~16 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=b4d1ba15e95e3ce6f62ddfc395c1950f5fa785e5;p=aubio.git wscript: improve dist target --- diff --git a/.gitignore b/.gitignore index e63d492e..7973137c 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,5 @@ python/dist python/MANIFEST python/*.db python/*.wav + +aubio-*.tar.bz2 diff --git a/wscript b/wscript index d6eda0b4..129eb829 100644 --- a/wscript +++ b/wscript @@ -245,3 +245,12 @@ def shutdown(bld): Logs.pprint('RED', msg) msg =' Paul Brossier ' Logs.pprint('RED', msg) + + +def dist(ctx): + ctx.excl = ' **/.waf-1* **/*~ **/*.pyc **/*.swp **/.lock-w* **/.git*' + ctx.excl += ' **/build/*' + ctx.excl += ' **/python/gen **/python/build **/python/dist **/**.tar.bz2' + ctx.excl += ' **/doc/full/*' + ctx.excl += ' **/python/*.db' + ctx.excl += ' **/python.old/*'