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 sfan5
parent 222f9c5635
commit 46cd82a68d
+1 -1
View File
@@ -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')