From 34cd2ecc729cdd1b291b10d262e83299ba8cf1b1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 8 Aug 2014 21:35:37 +0000 Subject: Upload man pages with waf upload_docs target. git-svn-id: http://svn.drobilla.net/serd/trunk@473 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- wscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wscript') 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') -- cgit v1.2.1