meson: fix warning for bad sphinx-build
commitaf2c0e854bd2b93a61f2d7111822154ccccd86c9
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 3 Nov 2020 13:59:42 +0000 (3 08:59 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 3 Nov 2020 14:42:54 +0000 (3 09:42 -0500)
treece35196b1cf7c7eeddaf078bb184e25e1e26513d
parent0250edf1eb4ff0b164c0cdabcbf4313507f3082e
meson: fix warning for bad sphinx-build

The warning was printing an empty string if the bad sphinx-build
was not passed on the command line.  Instead, always use the
path that was returned by find_program.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
docs/meson.build