OSDN Git Service

meson: stop looking for 'sphinx-build-3'
authorJohn Snow <jsnow@redhat.com>
Tue, 21 Feb 2023 01:24:55 +0000 (20:24 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 27 Feb 2023 10:01:30 +0000 (11:01 +0100)
commit1b1be8d3cc57a6ad86c3a54fb2750adfae707ae3
tree8b6b8e61a0ac7f45d8115a49eb9c6ba08ff42289
parent1248a15965b77f9b9b5d6efcd9138ae299fbc8c2
meson: stop looking for 'sphinx-build-3'

Once upon a time, "sphinx-build" on certain RPM platforms invoked
specifically a Python 2.x version, while "sphinx-build-3" was a distro
shim for the Python 3.x version.

These days, none of our supported platforms utilize a 2.x version, and
those that still have 'sphinx-build-3' make it a symbolic link to
'sphinx-build'.  Not searching for 'sphinx-build-3' will prefer
pip/venv installed versions of sphinx if they're available.

This adds an extremely convenient ability to test document building
ability in QEMU across multiple versions of Sphinx for the purposes of
compatibility testing.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20230221012456.2607692-6-jsnow@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
docs/meson.build
meson_options.txt
scripts/meson-buildoptions.sh