summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-17 20:14:53 +0000
committerDavid Robillard <d@drobilla.net>2011-03-17 20:14:53 +0000
commit3f293db2c24feabd86299186fe467ffd9cf1fc9d (patch)
tree198d05c24d9183bfb2ad2b42a698a5ec37282433 /wscript
parente1c4f613c1554c93257667420b06c5729bb9edcd (diff)
downloadlilv-3f293db2c24feabd86299186fe467ffd9cf1fc9d.tar.gz
lilv-3f293db2c24feabd86299186fe467ffd9cf1fc9d.tar.bz2
lilv-3f293db2c24feabd86299186fe467ffd9cf1fc9d.zip
Add waf fixdocs to strip decorators from doxygen documentation.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3112 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript13
1 files changed, 7 insertions, 6 deletions
diff --git a/wscript b/wscript
index b5b0c9c..fc3adbc 100644
--- a/wscript
+++ b/wscript
@@ -280,12 +280,13 @@ def build(bld):
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:
+ os.chdir('build/doc/html')
+ os.system("sed -i 's/SLV2_API //' group__slv2.html")
+ os.system("sed -i 's/SLV2_DEPRECATED //' group__slv2.html")
+ os.remove('index.html')
+ os.symlink('group__slv2.html',
+ 'index.html')
+ except Exception as e:
Logs.error("Failed to fix up Doxygen documentation\n")
def test(ctx):