summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-08-16 17:34:11 -0400
committerDavid Robillard <d@drobilla.net>2016-08-17 17:21:29 -0400
commitb0ee450c907d2b4ef4a350c3e8ae114573458eca (patch)
treef61463f292c355c5ad014b20197c7f08d7da9b44 /wscript
parente1b76b0d0a8b1cca102c093b57454d5993efa7a4 (diff)
downloadpatchage-b0ee450c907d2b4ef4a350c3e8ae114573458eca.tar.gz
patchage-b0ee450c907d2b4ef4a350c3e8ae114573458eca.tar.bz2
patchage-b0ee450c907d2b4ef4a350c3e8ae114573458eca.zip
Add target for generating release announcements
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'))