summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2021-12-17 10:31:21 -0800
committerPhilip Langdale <github.philipl@overt.org>2021-12-17 11:10:50 -0800
commite79cd6227b710fe602b9ed6a8e87c095b4a2a933 (patch)
tree2853f44d50ef501c2528abf9879632f55e330c21
parent3ec2012cec2deeeb9af34d249cfb337e549df9b1 (diff)
downloadmpv-e79cd6227b710fe602b9ed6a8e87c095b4a2a933.tar.bz2
mpv-e79cd6227b710fe602b9ed6a8e87c095b4a2a933.tar.xz
meson: look for rst2man.py as well as rst2man
If you install docutils with pip in the default way, you will get a script called `rst2man.py` rather than `rst2man`, so look for both names.
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 56f42013f9..fe0fbdaf6c 100644
--- a/meson.build
+++ b/meson.build
@@ -1631,7 +1631,7 @@ endif
# manpages
manpage = 'DOCS/man/mpv.rst'
-rst2man = find_program('rst2man', required: get_option('manpage-build'))
+rst2man = find_program('rst2man', 'rst2man.py', required: get_option('manpage-build'))
if rst2man.found()
features += 'manpage-build'
mandir = get_option('mandir')