From a9ea95453ba2a592bf259676536853e1db1cdac8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 17 Aug 2016 17:28:58 -0400 Subject: Add target for generating release announcements --- wscript | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index f6bed1a..6aeaefe 100644 --- a/wscript +++ b/wscript @@ -105,3 +105,15 @@ def build(bld): # Install data file bld.install_files('${LV2DIR}/' + bundle, os.path.join(bundle, p + '.ttl')) + +def posts(ctx): + path = str(ctx.path.abspath()) + autowaf.news_to_posts( + os.path.join(path, 'NEWS'), + {'title' : 'MDA.LV2', + 'description' : autowaf.get_blurb(os.path.join(path, 'README')), + 'dist_pattern' : 'http://download.drobilla.net/mda-lv2-%s.tar.bz2'}, + { 'Author' : 'drobilla', + 'Tags' : 'LV2' }, + os.path.join(out, 'posts')) + -- cgit v1.2.1