aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files changed, 6 insertions, 3 deletions
diff --git a/wscript b/wscript
index 6c0ffbb3..2539ca7c 100644
--- a/wscript
+++ b/wscript
@@ -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 = ""