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:
Ionen Wolkens 2023-01-12 23:46:26 -05:00 committed by Dudemanguy
parent 1201d59f0b
commit 95a76f0692
1 changed files with 1 additions and 1 deletions

View File

@ -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')