diff options
author | David Robillard <d@drobilla.net> | 2016-08-16 17:34:11 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-08-17 17:21:29 -0400 |
commit | b0ee450c907d2b4ef4a350c3e8ae114573458eca (patch) | |
tree | f61463f292c355c5ad014b20197c7f08d7da9b44 /wscript | |
parent | e1b76b0d0a8b1cca102c093b57454d5993efa7a4 (diff) | |
download | patchage-b0ee450c907d2b4ef4a350c3e8ae114573458eca.tar.gz patchage-b0ee450c907d2b4ef4a350c3e8ae114573458eca.tar.bz2 patchage-b0ee450c907d2b4ef4a350c3e8ae114573458eca.zip |
Add target for generating release announcements
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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')) |