From 66baf834540018046aef384d925273d48eee7be5 Mon Sep 17 00:00:00 2001 From: ederag Date: Sun, 4 Aug 2019 10:56:36 +0200 Subject: [PATCH] bypass schemas management for --docs --- wscript | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wscript b/wscript index 31a90d22b..0de6d033c 100644 --- a/wscript +++ b/wscript @@ -106,6 +106,11 @@ def build(bld): and uninstall a pre-fun. """ + # for some reason the post_fun keep being registered for other builds + # bypassing the schemas management if the --docs options was given + if ctx.options.docs: + return + assert action in ("install", "uninstall") if ctx.cmd == action: schemas_file = "{}/hamster-time-tracker.schemas".format(ctx.env.schemas_destination)