diff options
author | David Robillard <d@drobilla.net> | 2014-08-08 21:35:37 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-08-08 21:35:37 +0000 |
commit | 34cd2ecc729cdd1b291b10d262e83299ba8cf1b1 (patch) | |
tree | 4f1ca4a7823b8c3252972aadf4ed866fcc2036e6 /wscript | |
parent | 113982481a4157df50965265dafeea8b4c60b623 (diff) | |
download | serd-34cd2ecc729cdd1b291b10d262e83299ba8cf1b1.tar.gz serd-34cd2ecc729cdd1b291b10d262e83299ba8cf1b1.tar.bz2 serd-34cd2ecc729cdd1b291b10d262e83299ba8cf1b1.zip |
Upload man pages with waf upload_docs target.
git-svn-id: http://svn.drobilla.net/serd/trunk@473 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -256,6 +256,9 @@ def fix_docs(ctx): def upload_docs(ctx): os.system('rsync -ravz --delete -e ssh build/doc/html/ drobilla@drobilla.net:~/drobilla.net/docs/serd/') + for page in glob.glob('doc/*.[1-8]'): + os.system('soelim %s | pre-grohtml troff -man -wall -Thtml | post-grohtml > build/%s.html' % (page, page)) + os.system('rsync -avz --delete -e ssh build/%s.html drobilla@drobilla.net:~/drobilla.net/man/' % page) def file_equals(patha, pathb, subst_from='', subst_to=''): fa = open(patha, 'rU') |