diff options
author | David Robillard <d@drobilla.net> | 2012-07-09 08:14:31 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-07-09 08:14:31 +0000 |
commit | 1befdda2af78c7f8056d5eedc8309dedecffb51d (patch) | |
tree | 4b7a696b86b005899d8b0983e0c0fe00ca189882 /wscript | |
parent | f42a8f0315aecf4ea5c87bccfd2ce58ced8bc8ef (diff) | |
download | lilv-1befdda2af78c7f8056d5eedc8309dedecffb51d.tar.gz lilv-1befdda2af78c7f8056d5eedc8309dedecffb51d.tar.bz2 lilv-1befdda2af78c7f8056d5eedc8309dedecffb51d.zip |
Factor out documentation fixup stuff to autowaf.
Update Doxygen stuff and improve documentation style.
Update to r70/autowaf.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4528 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 22 |
1 files changed, 2 insertions, 20 deletions
@@ -334,27 +334,9 @@ def build(bld): if bld.env['DOCS']: bld.add_post_fun(fix_docs) -def build_dir(ctx, subdir): - if autowaf.is_child(): - return os.path.join('build', APPNAME, subdir) - else: - return os.path.join('build', subdir) - def fix_docs(ctx): - try: - top = os.getcwd() - os.chdir(build_dir(ctx, 'doc/html')) - os.system("sed -i 's/LILV_API //' group__lilv.html") - os.system("sed -i 's/LILV_DEPRECATED //' group__lilv.html") - os.system("sed -i 's/href=\"doc\/style.css\"/href=\"style.css\"/' group__lilv.html") - os.remove('index.html') - os.symlink('group__lilv.html', 'index.html') - os.chdir(top) - os.chdir(build_dir(ctx, 'doc/man/man3')) - os.system("sed -i 's/LILV_API //' lilv.3") - os.chdir(top) - except: - Logs.error("Failed to fix up %s documentation" % APPNAME) + if ctx.cmd == 'build': + autowaf.make_simple_dox(APPNAME) def upload_docs(ctx): os.system("rsync -ravz --delete -e ssh build/doc/html/ drobilla@drobilla.net:~/drobilla.net/docs/lilv/") |