diff options
author | David Robillard <d@drobilla.net> | 2011-03-17 20:14:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-17 20:14:41 +0000 |
commit | e3eeebaaa502dac63906450d1bc61dcd3819ce71 (patch) | |
tree | ae2bf2d46b0129bce2a06cfa980cc7af007713a3 /wscript | |
parent | 8f469a8f5fcf057d81b797d6182a6730e6bf03c6 (diff) | |
download | sord-e3eeebaaa502dac63906450d1bc61dcd3819ce71.tar.gz sord-e3eeebaaa502dac63906450d1bc61dcd3819ce71.tar.bz2 sord-e3eeebaaa502dac63906450d1bc61dcd3819ce71.zip |
Add waf fixdocs to strip decorators from doxygen documentation.
git-svn-id: http://svn.drobilla.net/sord/trunk@62 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -117,7 +117,18 @@ def build(bld): # Documentation autowaf.build_dox(bld, 'SORD', SORD_VERSION, top, out) - + +def fixdocs(ctx): + try: + os.chdir('build/doc/html') + os.system("sed -i 's/SORD_API //' group__sord.html") + os.system("sed -i 's/SORD_DEPRECATED //' group__sord.html") + os.remove('index.html') + os.symlink('group__sord.html', + 'index.html') + except Exception as e: + Logs.error("Failed to fix up Doxygen documentation\n") + def test(ctx): autowaf.pre_test(ctx, APPNAME) autowaf.run_tests(ctx, APPNAME, ['./sord_test']) |