diff options
author | David Robillard <d@drobilla.net> | 2011-03-17 20:37:47 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-17 20:37:47 +0000 |
commit | f3634a01d834341aead045a8152a4d589501f916 (patch) | |
tree | fb1c6a2ebdc09a003a695085d870ee46d293fc03 /wscript | |
parent | 3f293db2c24feabd86299186fe467ffd9cf1fc9d (diff) | |
download | lilv-f3634a01d834341aead045a8152a4d589501f916.tar.gz lilv-f3634a01d834341aead045a8152a4d589501f916.tar.bz2 lilv-f3634a01d834341aead045a8152a4d589501f916.zip |
Add waf upload_docs.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3114 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -2,8 +2,8 @@ import os import sys -import waflib.Options as Options from waflib.extras import autowaf as autowaf +import waflib.Options as Options # Version of this package (even if built as a child) SLV2_VERSION = '0.7.0alpha' @@ -278,7 +278,7 @@ def build(bld): bld.add_post_fun(autowaf.run_ldconfig) -def fixdocs(ctx): +def fix_docs(ctx): try: os.chdir('build/doc/html') os.system("sed -i 's/SLV2_API //' group__slv2.html") @@ -287,7 +287,10 @@ def fixdocs(ctx): os.symlink('group__slv2.html', 'index.html') except Exception as e: - Logs.error("Failed to fix up Doxygen documentation\n") + Logs.error("Failed to fix up Doxygen documentation (%s)\n" % e) + +def upload_docs(ctx): + os.system("rsync -avz --delete -e ssh build/doc/html/* drobilla@drobilla.net:~/drobilla.net/docs/slv2") def test(ctx): autowaf.pre_test(ctx, APPNAME) |