aboutsummaryrefslogtreecommitdiffstats
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
commit8663d3ea10caecaceee14f9566e6a17cb382d33e (patch)
tree7069415d45e21fabe2a80edcc9ce9e54e5a7d1f0 /wscript
parent1fd0fb2070f68299f6c1bab01cd90ca52a5eb0c6 (diff)
downloadjalv-8663d3ea10caecaceee14f9566e6a17cb382d33e.tar.gz
jalv-8663d3ea10caecaceee14f9566e6a17cb382d33e.tar.bz2
jalv-8663d3ea10caecaceee14f9566e6a17cb382d33e.zip
Upload man pages with waf upload_docs target.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5433 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/wscript b/wscript
index 88ff86c..c3708b0 100644
--- a/wscript
+++ b/wscript
@@ -149,5 +149,13 @@ def build(bld):
# Man pages
bld.install_files('${MANDIR}/man1', bld.path.ant_glob('doc/*.1'))
+def upload_docs(ctx):
+ import glob
+ import os
+ for page in glob.glob('doc/*.[1-8]'):
+ os.system('mkdir -p build/doc')
+ 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 lint(ctx):
subprocess.call('cpplint.py --filter=+whitespace/comments,-whitespace/tab,-whitespace/braces,-whitespace/labels,-build/header_guard,-readability/casting,-readability/todo,-build/include,-runtime/sizeof src/* jalv/*', shell=True)