diff options
author | David Robillard <d@drobilla.net> | 2011-03-17 20:38:11 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-17 20:38:11 +0000 |
commit | fa17b08338b44f7c623a4caa4268bcf99884f9f9 (patch) | |
tree | 17f7b669ae8955c39695031e0921f4c46991e162 /wscript | |
parent | 664c1c7a00616fdb4e87cf74590d51d757225ff2 (diff) | |
download | serd-fa17b08338b44f7c623a4caa4268bcf99884f9f9.tar.gz serd-fa17b08338b44f7c623a4caa4268bcf99884f9f9.tar.bz2 serd-fa17b08338b44f7c623a4caa4268bcf99884f9f9.zip |
Add waf upload_docs.
git-svn-id: http://svn.drobilla.net/serd/trunk@126 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -5,8 +5,8 @@ import os import shutil import subprocess -import waflib.Logs as Logs, waflib.Options as Options from waflib.extras import autowaf as autowaf +import waflib.Logs as Logs, waflib.Options as Options # Version of this package (even if built as a child) SERD_VERSION = '0.1.0' @@ -151,7 +151,7 @@ def amalgamate(ctx): amalgamation.close() -def fixdocs(ctx): +def fix_docs(ctx): try: os.chdir('build/doc/html') os.system("sed -i 's/SERD_API //' group__serd.html") @@ -160,7 +160,10 @@ def fixdocs(ctx): os.symlink('group__serd.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/serd") def test(ctx): blddir = "" |