Skip to contentSkip to conversation

docs/sphinx/dbus: register build dependency

PATCH In review [email protected] 2 participants 2 messages Sep 7 – Sep 21

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/sphinx/dbus: register build dependency

From: Marc-André Lureau <[email protected]>

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

---
 docs/sphinx/dbusdoc.py | 1 +
 1 file changed, 1 insertion(+)
docs/sphinx/dbusdoc.py +1 -0
index be284ed08fd7..2b086e2f583c 100644
@@ -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)
Signature · 1 line
2.55.0.543.g5ebe2ebe4ea8