diff options
author | David Robillard <d@drobilla.net> | 2014-08-08 21:36:59 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-08-08 21:36:59 +0000 |
commit | 2da622dd0c638250fd218f02e47cc15a4e488734 (patch) | |
tree | caf7a5113b5fd03f6debe316588681d96b46ab00 /wscript | |
parent | 5e90fa570d60e7d346e8a7db02e2c76ecae2d148 (diff) | |
download | lilv-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-- | wscript | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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): |