Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 1 | From 4129a8c6911b6b0ef3665cb167da6b635c29614d Mon Sep 17 00:00:00 2001 |
| 2 | From: Wang Mingyu <wangmy@cn.fujitsu.com> |
| 3 | Date: Mon, 8 Feb 2021 17:30:52 +0900 |
| 4 | Subject: [PATCH] meson: Also search for rst2man.py |
| 5 | |
| 6 | That's what upstream docutils installs by default. |
| 7 | |
| 8 | Upstream-Status: Backport [https://gitlab.freedesktop.org/mesa/drm/-/commit/62b9a3eee9bdaafa766e92d5bebeb4e59845c45a] |
| 9 | |
| 10 | Signed-off-by: Heiko Becker's avatarHeiko Becker <heirecka@exherbo.org> |
| 11 | --- |
| 12 | meson.build | 2 +- |
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 14 | |
| 15 | diff --git a/meson.build b/meson.build |
| 16 | index a4d8d70..07d2e08 100644 |
| 17 | --- a/meson.build |
| 18 | +++ b/meson.build |
| 19 | @@ -261,7 +261,7 @@ else |
| 20 | endif |
| 21 | |
| 22 | with_man_pages = get_option('man-pages') |
| 23 | -prog_rst2man = find_program('rst2man', required: with_man_pages == 'true') |
| 24 | +prog_rst2man = find_program('rst2man', 'rst2man.py', required: with_man_pages == 'true') |
| 25 | with_man_pages = with_man_pages != 'false' and prog_rst2man.found() |
| 26 | |
| 27 | config.set10('HAVE_VISIBILITY', |
| 28 | -- |
| 29 | 2.25.1 |
| 30 | |