summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wscript9
1 files changed, 6 insertions, 3 deletions
diff --git a/wscript b/wscript
index 682d881..08a2cfa 100644
--- a/wscript
+++ b/wscript
@@ -2,8 +2,8 @@
import os
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)
SUIL_VERSION = '0.0.0'
@@ -92,7 +92,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/SUIL_API //' group__suil.html")
@@ -101,7 +101,10 @@ def fixdocs(ctx):
os.symlink('group__suil.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/suil")
def lint(ctx):
subprocess.call('cpplint.py --filter=-whitespace,+whitespace/comments,-build/header_guard,-readability/casting,-readability/todo src/* suil/*', shell=True)