aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-17 20:14:26 +0000
committerDavid Robillard <d@drobilla.net>2011-03-17 20:14:26 +0000
commit664c1c7a00616fdb4e87cf74590d51d757225ff2 (patch)
tree8365365867e39f0cc40fe5763973b503cbbd71da
parentc838e4559bf1d1f39dd5f29de8cec28a76480489 (diff)
downloadserd-664c1c7a00616fdb4e87cf74590d51d757225ff2.tar.gz
serd-664c1c7a00616fdb4e87cf74590d51d757225ff2.tar.bz2
serd-664c1c7a00616fdb4e87cf74590d51d757225ff2.zip
Add waf fixdocs to strip decorators from doxygen documentation.
git-svn-id: http://svn.drobilla.net/serd/trunk@125 490d8e77-9747-427b-9fa3-0b8f29cee8a0
-rw-r--r--wscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/wscript b/wscript
index 50d3e18e..6c0ffbb3 100644
--- a/wscript
+++ b/wscript
@@ -151,6 +151,17 @@ def amalgamate(ctx):
amalgamation.close()
+def fixdocs(ctx):
+ try:
+ os.chdir('build/doc/html')
+ os.system("sed -i 's/SERD_API //' group__serd.html")
+ os.system("sed -i 's/SERD_DEPRECATED //' group__serd.html")
+ os.remove('index.html')
+ os.symlink('group__serd.html',
+ 'index.html')
+ except Exception as e:
+ Logs.error("Failed to fix up Doxygen documentation\n")
+
def test(ctx):
blddir = ""
top_level = (len(ctx.stack_path) > 1)