summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-08-16 17:35:53 -0400
committerDavid Robillard <d@drobilla.net>2016-08-17 17:21:34 -0400
commitd9ea77d474432893de33bc980130e9c18644c2aa (patch)
treeacc1e871b6f3b927d59ca05626d6748fe5cb5b4a /wscript
parentb0339e5350f4b9f41f534a7f17e4bec4947fcd5f (diff)
downloadsratom-d9ea77d474432893de33bc980130e9c18644c2aa.tar.gz
sratom-d9ea77d474432893de33bc980130e9c18644c2aa.tar.bz2
sratom-d9ea77d474432893de33bc980130e9c18644c2aa.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 cfda033..3a38c3c 100644
--- a/wscript
+++ b/wscript
@@ -159,3 +159,14 @@ def fix_docs(ctx):
def upload_docs(ctx):
os.system("rsync -ravz --delete -e ssh build/doc/html/ drobilla@drobilla.net:~/drobilla.net/docs/sratom/")
+
+def posts(ctx):
+ path = str(ctx.path.abspath())
+ autowaf.news_to_posts(
+ os.path.join(path, 'NEWS'),
+ {'title' : 'Sratom',
+ 'description' : autowaf.get_blurb(os.path.join(path, 'README')),
+ 'dist_pattern' : 'http://download.drobilla.net/sratom-%s.tar.bz2'},
+ { 'Author' : 'drobilla',
+ 'Tags' : 'Hacking, LAD, LV2, RDF' },
+ os.path.join(out, 'posts'))