[PATCH dpdk] meson: properly disable docs
Stephen Hemminger
stephen at networkplumber.org
Tue Oct 22 17:36:00 CEST 2024
On Tue, 22 Oct 2024 17:11:42 +0200
Robin Jarry <rjarry at redhat.com> wrote:
> Fix the following meson warning when -Denable_docs=false:
>
> $ meson setup build -Denable_docs=false -Denable_drivers=net/null \
> -Denable_libs=rib -Ddisable_apps=* --wipe --fatal-meson-warnings
> ...
> Program doxygen found: YES (/usr/bin/doxygen)
> Configuring doxy-api-html.conf using configuration
> doc/api/meson.build:54: WARNING: The variable(s) 'DTS_API_MAIN_PAGE' in
> the input file 'doc/api/doxy-api.conf.in' are not present in the given
> configuration data.
> doc/api/meson.build:54:17: ERROR: Fatal warnings enabled, aborting
>
> When -Denable_docs=false, do not even enter the doc subdir. Replace all
> occurrences of get_option('enable_docs') in the doc subdir with true.
>
> Fixes: 7f9326423a04 ("dts: add API doc generation")
> Signed-off-by: Robin Jarry <rjarry at redhat.com>
Acked-by: Stephen Hemminger <stephen at networkplumber.org>
More information about the dev
mailing list