aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-10-07 12:51:47 +0200
committerDavid Robillard <d@drobilla.net>2017-10-07 12:51:47 +0200
commit7e064a246c6bbab563a3ade79efae0055e99ed44 (patch)
tree274f781c000d53cf601dac0f899e04fa35867b49 /wscript
parentc25055636aeea0713301e8f584f672ea41aa72d1 (diff)
downloadserd-7e064a246c6bbab563a3ade79efae0055e99ed44.tar.gz
serd-7e064a246c6bbab563a3ade79efae0055e99ed44.tar.bz2
serd-7e064a246c6bbab563a3ade79efae0055e99ed44.zip
Simplify documentation cleanup
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 1 insertions, 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]'):