From b0ee450c907d2b4ef4a350c3e8ae114573458eca Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 16 Aug 2016 17:34:11 -0400 Subject: Add target for generating release announcements --- wscript | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'wscript') 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')) -- cgit v1.2.1