From b4d1ba15e95e3ce6f62ddfc395c1950f5fa785e5 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 15 Oct 2013 23:52:52 +0200 Subject: [PATCH] wscript: improve dist target --- .gitignore | 2 ++ wscript | 9 +++++++++ 2 files changed, 11 insertions(+) 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/*' -- 2.11.0