mirror of https://github.com/mpv-player/mpv
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).
This commit is contained in:
parent
1201d59f0b
commit
95a76f0692
|
@ -1568,7 +1568,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')
|
||||
|
|
Loading…
Reference in New Issue