aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-08-16 17:35:38 -0400
committerDavid Robillard <d@drobilla.net>2016-08-17 17:21:32 -0400
commit65ffeadf57cc1c7229417bac5ef9244a87732636 (patch)
tree09605fb8f367529884aef2d84319c163510d9c80 /wscript
parentb4ba568b24c43c64a758471b36c28923a5adafaa (diff)
downloadserd-65ffeadf57cc1c7229417bac5ef9244a87732636.tar.gz
serd-65ffeadf57cc1c7229417bac5ef9244a87732636.tar.bz2
serd-65ffeadf57cc1c7229417bac5ef9244a87732636.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 8f2b873d..86a0d3a9 100644
--- a/wscript
+++ b/wscript
@@ -520,3 +520,14 @@ def test(ctx):
pass
autowaf.post_test(ctx, APPNAME)
+
+def posts(ctx):
+ path = str(ctx.path.abspath())
+ autowaf.news_to_posts(
+ os.path.join(path, 'NEWS'),
+ {'title' : 'Serd',
+ 'description' : autowaf.get_blurb(os.path.join(path, 'README')),
+ 'dist_pattern' : 'http://download.drobilla.net/serd-%s.tar.bz2'},
+ { 'Author' : 'drobilla',
+ 'Tags' : 'Hacking, RDF' },
+ os.path.join(out, 'posts'))