diff options
author | David Robillard <d@drobilla.net> | 2011-03-17 20:01:11 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-17 20:01:11 +0000 |
commit | e1c4f613c1554c93257667420b06c5729bb9edcd (patch) | |
tree | b8fca1f0bcea8f871393318c918677dc8eb1a28e /wscript | |
parent | 6e48279e05ee9c261aaeb20853a0fce961fbd7f7 (diff) | |
download | lilv-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-- | wscript | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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']) |