From 7e064a246c6bbab563a3ade79efae0055e99ed44 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 7 Oct 2017 12:51:47 +0200 Subject: Simplify documentation cleanup --- wscript | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/wscript b/wscript index 522a7649..92462a35 100644 --- a/wscript +++ b/wscript @@ -169,7 +169,7 @@ def build(bld): bld.add_post_fun(autowaf.run_ldconfig) if bld.env.DOCS: - bld.add_post_fun(fix_docs) + bld.add_post_fun(lambda ctx: autowaf.make_simple_dox(APPNAME)) def lint(ctx): "checks code for style issues" @@ -201,10 +201,6 @@ def amalgamate(ctx): for i in ['c', 'h']: Logs.info('Wrote build/serd.%s' % i) -def fix_docs(ctx): - 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/serd/') for page in glob.glob('doc/*.[1-8]'): -- cgit v1.2.1