[gtk/gtk-4-6] Check for 'rst2man' misses installed 'rst2man.py' (#4728)



commit 52cb3b2ec402b391e908cc14a01449b4d19021c0
Author: aneejit1 <aneejit1 gmail com>
Date:   Sat Mar 19 10:41:32 2022 +0000

    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.

 docs/reference/gtk/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]