wscript: improve dist target
authorPaul Brossier <piem@piem.org>
Tue, 15 Oct 2013 21:52:52 +0000 (23:52 +0200)
committerPaul Brossier <piem@piem.org>
Tue, 15 Oct 2013 21:52:52 +0000 (23:52 +0200)
.gitignore
wscript

index e63d492..7973137 100644 (file)
@@ -35,3 +35,5 @@ python/dist
 python/MANIFEST
 python/*.db
 python/*.wav
+
+aubio-*.tar.bz2
diff --git a/wscript b/wscript
index d6eda0b..129eb82 100644 (file)
--- a/wscript
+++ b/wscript
@@ -245,3 +245,12 @@ def shutdown(bld):
           Logs.pprint('RED', msg)
           msg ='   Paul Brossier <piem@aubio.org>'
           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/*'