summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-08-08 21:35:58 +0000
committerDavid Robillard <d@drobilla.net>2014-08-08 21:35:58 +0000
commit30aba3a62ba2e52515db092531f3adaacf87a53f (patch)
treee99d99a0960eeea0a85808709f126e90a182c29f /wscript
parent57e6908db94647c09a93c611a592efb29477a0fe (diff)
downloadsord-30aba3a62ba2e52515db092531f3adaacf87a53f.tar.gz
sord-30aba3a62ba2e52515db092531f3adaacf87a53f.tar.bz2
sord-30aba3a62ba2e52515db092531f3adaacf87a53f.zip
Upload man pages with waf upload_docs target.
git-svn-id: http://svn.drobilla.net/sord/trunk@303 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/wscript b/wscript
index 3a56417..0de3765 100644
--- a/wscript
+++ b/wscript
@@ -228,6 +228,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/sord/')
+ 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 test(ctx):
blddir = autowaf.build_dir(APPNAME, 'tests')