From 2da622dd0c638250fd218f02e47cc15a4e488734 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 8 Aug 2014 21:36:59 +0000 Subject: Upload man pages with waf upload_docs target. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5433 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 4 ++++ 1 file changed, 4 insertions(+) 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): -- cgit v1.2.1