summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/wscript b/wscript
index 3f104e4..f5eb3d0 100644
--- a/wscript
+++ b/wscript
@@ -214,3 +214,14 @@ def build(bld):
os.path.join('icons', 'scalable', 'patchage.svg'))
bld.install_files('${MANDIR}/man1', bld.path.ant_glob('doc/*.1'))
+
+def posts(ctx):
+ path = str(ctx.path.abspath())
+ autowaf.news_to_posts(
+ os.path.join(path, 'NEWS'),
+ {'title' : 'Patchage',
+ 'description' : autowaf.get_blurb(os.path.join(path, 'README')),
+ 'dist_pattern' : 'http://download.drobilla.net/patchage-%s.tar.bz2'},
+ { 'Author' : 'drobilla',
+ 'Tags' : 'Hacking, LAD' },
+ os.path.join(out, 'posts'))