From d8365fe33e912bab2c584d91f23f1f9b5c29e06a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikl=C4=81vs=20Ko=C4=BCes=C5=86ikovs?= <89q1r14hd@relay.firefox.com> Date: Sat, 3 Jul 2021 15:57:06 +0300 Subject: [PATCH] meson: adds summary() to auto features --- docs/meson.build | 12 ++++++++++++ src/systemd/meson.build | 1 + 2 files changed, 13 insertions(+) diff --git a/docs/meson.build b/docs/meson.build index 86d9aede..ee83a584 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -6,12 +6,20 @@ python_doc = pymod.find_installation( modules: ['sphinx', 'sphinx_rtd_theme', 'breathe', 'sphinx.ext.graphviz'], required: get_option('doc') ) +summary({'Python 3 Sphinx related modules': python_doc.found()}, + bool_yn: true, + section: 'For documentation' +) python_gir = pymod.find_installation( 'python3', modules: ['lxml'], required: get_option('introspection') ) +summary({'Python 3 lxml module': python_gir.found()}, + bool_yn: true, + section: 'For introspection' +) if get_option('doc').enabled() or get_option('introspection').enabled() doxygen_p = find_program('doxygen', version: '>= 1.8.0', required: true) @@ -20,10 +28,14 @@ elif get_option('doc').auto() or get_option('introspection').auto() else doxygen_p = disabler() endif +summary({'Doxygen': doxygen_p.found()}, bool_yn: true, section: 'For introspection') +summary({'Doxygen': doxygen_p.found()}, bool_yn: true, section: 'For documentation') sphinx_p = find_program('sphinx-build', version: '>= 2.1.0', required: get_option('doc')) +summary({'sphinx-build': sphinx_p.found()}, bool_yn: true, section: 'For documentation') gir_p = find_program('g-ir-scanner', required: get_option('introspection')) +summary({'g-ir-scanner': gir_p.found()}, bool_yn: true, section: 'For introspection') build_doc = python_doc.found() and doxygen_p.found() and sphinx_p.found() build_gir = python_gir.found() and doxygen_p.found() and gir_p.found() diff --git a/src/systemd/meson.build b/src/systemd/meson.build index d57152e8..9618db8f 100644 --- a/src/systemd/meson.build +++ b/src/systemd/meson.build @@ -1,4 +1,5 @@ systemd = dependency('systemd', required: get_option('systemd')) +summary({'systemd conf data': systemd.found()}, bool_yn: true) if systemd.found() systemd_config = configuration_data()