From: Simon McVittie Date: Wed, 25 Sep 2024 14:39:49 +0000 (+0100) Subject: meson: Substitute DBUS_APIDOC_LINK X-Git-Tag: dbus-1.15.12~16^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34a31730ecb832b5c24cc5748171796e023b0fe6;p=thirdparty%2Fdbus.git 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 --- 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))