From bf899b73cfe66b5688604e22dbdc79c701b20e39 Mon Sep 17 00:00:00 2001
From: Daan De Meyer <daan.j.demeyer@gmail.com>
Date: Wed, 26 Feb 2025 22:06:41 +0100
Subject: [PATCH 1140/1160] meson: Add missing dbus_programs dependency on
 update-dbus-docs

All dbus programs have to be up-to-date for update-dbus-docs to
produce the expected output, so add the missing dependency.

(cherry picked from commit 461bd9277a69833a534518c263d00443f2f6fbf4)
(cherry picked from commit cd727da491f0715995f06f3ad7e6e2ec2ab2e44a)
(cherry picked from commit c5e562c8eeb81f9573bd14446ad77c43f5b73d7a)
---
 man/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/man/meson.build b/man/meson.build
index 403098a814..0e70d9bad8 100644
--- a/man/meson.build
+++ b/man/meson.build
@@ -218,7 +218,8 @@ update_dbus_docs = custom_target(
         'update-dbus-docs-impl',
         output : 'update-dbus-docs',
         command : [update_dbus_docs_py, '--build-dir', project_build_root, '@INPUT@'],
-        input : dbus_docs)
+        input : dbus_docs,
+        depends : dbus_programs)
 
 if conf.get('BUILD_MODE_DEVELOPER') == 1
         test('dbus-docs-fresh',
-- 
2.33.0