summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-01-12 23:46:26 -0500
committersfan5 <sfan5@live.de>2023-01-24 16:39:33 +0100
commit46cd82a68db3f9d4f8afdd756893ccc995299293 (patch)
treea009c7a16ad616599dd0b0b21466a2fef6058fd6
parent222f9c56359561a39061665f3cbc06a3fbeb8e2a (diff)
downloadmpv-46cd82a68db3f9d4f8afdd756893ccc995299293.tar.bz2
mpv-46cd82a68db3f9d4f8afdd756893ccc995299293.tar.xz
meson: also search for rst2html with .py extension
This allows using rst2html.py from docutils if present, this was already done for rst2man.py (unneeded for rst2pdf).
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 0eb10d4fe1..acaa39f764 100644
--- a/meson.build
+++ b/meson.build
@@ -1556,7 +1556,7 @@ if features['manpage-build']
)
endif
-rst2html = find_program('rst2html', required: get_option('html-build'))
+rst2html = find_program('rst2html', 'rst2html.py', required: get_option('html-build'))
features += {'html-build': rst2html.found()}
if features['html-build']
datadir = get_option('datadir')