Touching dbus xml file wasn't enough to trigger a new build because
the file wasn't registered to the dependency system.

Signed-off-by: Marc-André Lureau <[email protected]>
---
 docs/sphinx/dbusdoc.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docs/sphinx/dbusdoc.py b/docs/sphinx/dbusdoc.py
index be284ed08fd7..2b086e2f583c 100644
--- a/docs/sphinx/dbusdoc.py
+++ b/docs/sphinx/dbusdoc.py
@@ -146,6 +146,7 @@ def run(self):
 
         env = self.state.document.settings.env
         dbusfile = env.config.qapidoc_srctree + "/" + self.arguments[0]
+        env.note_dependency(os.path.abspath(dbusfile))
         with open(dbusfile, "rb") as f:
             xml_data = f.read()
         xml = parse_dbus_xml(xml_data)

-- 
2.55.0.543.g5ebe2ebe4ea8


Reply via email to