summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-08-16 17:20:58 -0400
committerDavid Robillard <d@drobilla.net>2016-08-17 17:24:49 -0400
commitc91a6de816db02ad3c988f6b4ff473704a6e6c50 (patch)
treed24fd7205e592bdbb15acd48c3b3f8ac7daff09d /wscript
parent74a0b8c6976c2a4ba9987c80e75d9fb1a39b6fbd (diff)
downloadganv-c91a6de816db02ad3c988f6b4ff473704a6e6c50.tar.gz
ganv-c91a6de816db02ad3c988f6b4ff473704a6e6c50.tar.bz2
ganv-c91a6de816db02ad3c988f6b4ff473704a6e6c50.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 4ce3d03..202de78 100644
--- a/wscript
+++ b/wscript
@@ -244,3 +244,14 @@ def test(ctx):
def i18n(bld):
autowaf.build_i18n(bld, '..', 'ganv', APPNAME, ganv_source,
'David Robillard')
+
+def posts(ctx):
+ path = str(ctx.path.abspath())
+ autowaf.news_to_posts(
+ os.path.join(path, 'NEWS'),
+ {'title' : 'Ganv',
+ 'description' : autowaf.get_blurb(os.path.join(path, 'README')),
+ 'dist_pattern' : 'http://download.drobilla.net/ganv-%s.tar.bz2'},
+ { 'Author' : 'drobilla',
+ 'Tags' : 'Hacking, LAD, LV2' },
+ os.path.join(out, 'posts'))