summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wscript13
1 files changed, 12 insertions, 1 deletions
diff --git a/wscript b/wscript
index 9a95d16..8bcb748 100644
--- a/wscript
+++ b/wscript
@@ -117,7 +117,18 @@ def build(bld):
# Documentation
autowaf.build_dox(bld, 'SORD', SORD_VERSION, top, out)
-
+
+def fixdocs(ctx):
+ try:
+ os.chdir('build/doc/html')
+ os.system("sed -i 's/SORD_API //' group__sord.html")
+ os.system("sed -i 's/SORD_DEPRECATED //' group__sord.html")
+ os.remove('index.html')
+ os.symlink('group__sord.html',
+ 'index.html')
+ except Exception as e:
+ Logs.error("Failed to fix up Doxygen documentation\n")
+
def test(ctx):
autowaf.pre_test(ctx, APPNAME)
autowaf.run_tests(ctx, APPNAME, ['./sord_test'])