summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2022-03-19 10:41:32 +0000
committeraneejit1 <aneejit1@gmail.com>2022-03-19 13:58:40 +0000
commit91511a80ac07bf611da12f221fedbb521baccc5b (patch)
tree262d193a6f50fd6b59cf6490213f356e282846c4
parenteeaa73c12a23b9505de8c59f92dd5731b8d18e0e (diff)
downloadgtk+-91511a80ac07bf611da12f221fedbb521baccc5b.tar.gz
Check for 'rst2man' misses installed 'rst2man.py' (#4728)
By default, 'docutils' installs 'rst2man' as 'rst2man.py'. Amend the check for 'rst2man' to look for 'rst2man.py' as well if 'rst2man' is not found.
-rw-r--r--docs/reference/gtk/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/reference/gtk/meson.build b/docs/reference/gtk/meson.build
index 441207c2b2..a7af607b91 100644
--- a/docs/reference/gtk/meson.build
+++ b/docs/reference/gtk/meson.build
@@ -57,7 +57,7 @@ if get_option('gtk_doc')
)
endif
-rst2man = find_program('rst2man', required: false)
+rst2man = find_program('rst2man', 'rst2man.py', required: false)
if get_option('man-pages') and not rst2man.found()
error('No rst2man found, but man pages were explicitly enabled')
endif