From 1a9b02e20dbc89d69ca4b4a64c69659b918a480d Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 9 Jan 2017 23:13:02 +1100 Subject: waf: Create an XML Catalogue. --- wscript | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index f7dd224..2147c5b 100644 --- a/wscript +++ b/wscript @@ -30,9 +30,15 @@ def configure(conf): conf.recurse(b) conf.env['BUILD_FROM_TOP'] = 'yes' +def xml_catalogue(ctx): + docs_waf.xml_catalogue(ctx) + def build(ctx): + ctx.catalogue = {} + ctx.add_post_fun(xml_catalogue) for b in building: ctx.recurse(b) + ctx.install_files('${PREFIX}', 'catalogue.xml') def install(ctx): for b in building: -- cgit v1.2.3