summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-08-08 21:36:59 +0000
committerDavid Robillard <d@drobilla.net>2014-08-08 21:36:59 +0000
commit2da622dd0c638250fd218f02e47cc15a4e488734 (patch)
treecaf7a5113b5fd03f6debe316588681d96b46ab00 /wscript
parent5e90fa570d60e7d346e8a7db02e2c76ecae2d148 (diff)
downloadlilv-2da622dd0c638250fd218f02e47cc15a4e488734.tar.gz
lilv-2da622dd0c638250fd218f02e47cc15a4e488734.tar.bz2
lilv-2da622dd0c638250fd218f02e47cc15a4e488734.zip
Upload man pages with waf upload_docs target.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5433 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript b/wscript
index 673247c..d21c4b2 100644
--- a/wscript
+++ b/wscript
@@ -392,7 +392,11 @@ def fix_docs(ctx):
autowaf.make_simple_dox(APPNAME)
def upload_docs(ctx):
+ import glob
os.system('rsync -ravz --delete -e ssh build/doc/html/ drobilla@drobilla.net:~/drobilla.net/docs/lilv/')
+ 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)
# Inherit from build context so we can get the config data
class TestContext(Build.BuildContext):