aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-08-08 21:35:37 +0000
committerDavid Robillard <d@drobilla.net>2014-08-08 21:35:37 +0000
commit34cd2ecc729cdd1b291b10d262e83299ba8cf1b1 (patch)
tree4f1ca4a7823b8c3252972aadf4ed866fcc2036e6
parent113982481a4157df50965265dafeea8b4c60b623 (diff)
downloadserd-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
-rw-r--r--wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/wscript b/wscript
index ad86aae0..41d49230 100644
--- a/wscript
+++ b/wscript
@@ -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')