From 34a31730ecb832b5c24cc5748171796e023b0fe6 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 25 Sep 2024 15:39:49 +0100 Subject: [PATCH] meson: Substitute DBUS_APIDOC_LINK doc/index.html.in is common to the Meson and CMake build systems, so every time a new variable gets substituted into it, both the Meson and CMake build systems need to provide a value for that variable. Fixes: b58ca0e1 "cmake: Inclusion of a link in html overview file corrected" Signed-off-by: Simon McVittie --- meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meson.build b/meson.build index 2f99792f8..d512f798f 100644 --- a/meson.build +++ b/meson.build @@ -336,6 +336,10 @@ can_upload_docs = doxygen.found() and xsltproc.found() and ducktype.found() qhelpgen = find_program('qhelpgenerator', 'qhelpgenerator-qt5', required: get_option('qt_help')) qt_help_generate = doxygen.found() and qhelpgen.found() +data_config.set( + 'DBUS_APIDOC_LINK', + doxygen.found() ? 'libdbus API Documentation' : '', +) data_config.set('DBUS_GENERATE_MAN', platform_windows ? 'NO' : 'YES') data_config.set('DOXYGEN_QCH_FILE', meson.current_build_dir() / 'doc' / 'api' / 'qch' / 'dbus-@0@.qch'.format(version)) -- 2.47.3