]> git.ipfire.org Git - thirdparty/libvirt.git/commit
meson: Fix rst2html5 detection
authorAndrea Bolognani <abologna@redhat.com>
Wed, 3 Nov 2021 12:43:34 +0000 (13:43 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 3 Nov 2021 12:48:54 +0000 (13:48 +0100)
commit958f8fe8c441a8a40f4044e2257c094b9ce07ae4
tree24a9bbcff966e76adaa654584af3693e1ee0b440
parent20ccc19a3c707a5320fbc784b6fbf7e2cdae055c
meson: Fix rst2html5 detection

The first part of the version string contains the name that the
rst2html5 command was invoked as, which can differ based on the
operating system: on FreeBSD, for example, it's rst2html5.py
instead of just rst2html5.

Fix our detection logic so that it works regardless of the
specific name used for the docutils-provided rst2html5 command.

Fixes: cf0c9e186565e886a0016b2b269088b3eed3d26d
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
meson.build