Commit 90cfbb4a89 for qemu.org
commit 90cfbb4a89ed9ce3cc1e50ab432880e5fce1b1b7
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: Mon Sep 7 15:47:12 2026 +0400
docs/sphinx/dbus: register build dependency
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 <marcandre.lureau@redhat.com>
diff --git a/docs/sphinx/dbusdoc.py b/docs/sphinx/dbusdoc.py
index be284ed08f..2b086e2f58 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)