diff options
author | David Robillard <d@drobilla.net> | 2011-03-17 20:14:53 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-17 20:14:53 +0000 |
commit | 3f293db2c24feabd86299186fe467ffd9cf1fc9d (patch) | |
tree | 198d05c24d9183bfb2ad2b42a698a5ec37282433 /wscript | |
parent | e1c4f613c1554c93257667420b06c5729bb9edcd (diff) | |
download | lilv-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-- | wscript | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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): |