diff options
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,4 +1,5 @@ #!/usr/bin/env python +import os import subprocess import waflib.Logs as Logs, waflib.Options as Options @@ -91,5 +92,17 @@ def build(bld): bld.add_post_fun(autowaf.run_ldconfig) +def fixdocs(ctx): + try: + os.chdir('build/doc/html') + os.system("sed -i 's/SUIL_API //' group__suil.html") + os.system("sed -i 's/SUIL_DEPRECATED //' group__suil.html") + os.remove('index.html') + os.symlink('group__suil.html', + 'index.html') + except Exception as e: + Logs.error("Failed to fix up Doxygen documentation\n") + Logs.error(e) + def lint(ctx): subprocess.call('cpplint.py --filter=-whitespace,+whitespace/comments,-build/header_guard,-readability/casting,-readability/todo src/* suil/*', shell=True) |