summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-17 20:01:11 +0000
committerDavid Robillard <d@drobilla.net>2011-03-17 20:01:11 +0000
commite1c4f613c1554c93257667420b06c5729bb9edcd (patch)
treeb8fca1f0bcea8f871393318c918677dc8eb1a28e /wscript
parent6e48279e05ee9c261aaeb20853a0fce961fbd7f7 (diff)
downloadlilv-e1c4f613c1554c93257667420b06c5729bb9edcd.tar.gz
lilv-e1c4f613c1554c93257667420b06c5729bb9edcd.tar.bz2
lilv-e1c4f613c1554c93257667420b06c5729bb9edcd.zip
Improve documentation.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3110 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/wscript b/wscript
index 665943a..b5b0c9c 100644
--- a/wscript
+++ b/wscript
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+import os
import sys
import waflib.Options as Options
@@ -277,6 +278,16 @@ def build(bld):
bld.add_post_fun(autowaf.run_ldconfig)
+def fixdocs(ctx):
+ try:
+ os.system("sed -i 's/SLV2_API //' build/doc/html/group__slv2.html")
+ os.system("sed -i 's/SLV2_DEPRECATED //' build/doc/html/group__slv2.html")
+ os.remove('build/doc/html/index.html')
+ os.symlink('build/doc/html/group__slv2.html',
+ 'build/doc/html/index.html')
+ except:
+ Logs.error("Failed to fix up Doxygen documentation\n")
+
def test(ctx):
autowaf.pre_test(ctx, APPNAME)
autowaf.run_tests(ctx, APPNAME, ['test/slv2_test'], dirs=['./src','./test'])