From: Damien Goutte-Gattat Date: Mon, 3 May 2021 16:14:22 +0000 (+0100) Subject: docs: Fix installation of man pages with Sphinx 4.x X-Git-Tag: v6.1.0-rc0~87^2~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=269a7e97865cb863c9ca19e5f2e6a40ac9eddf82;p=thirdparty%2Fqemu.git docs: Fix installation of man pages with Sphinx 4.x The 4.x branch of Sphinx introduces a breaking change, as generated man pages are now written to subdirectories corresponding to the manual section they belong to. This results in `make install` erroring out when attempting to install the man pages, because they are not where it expects to find them. This patch restores the behavior of Sphinx 3.x regarding man pages. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/256 Signed-off-by: Damien Goutte-Gattat Message-id: 20210503161422.15028-1-dgouttegattat@incenp.org Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- diff --git a/docs/conf.py b/docs/conf.py index 00cf66ab546..42729e22bbe 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -279,6 +279,7 @@ man_pages = [ ['Stefan Hajnoczi ', 'Masayoshi Mizuma '], 1), ] +man_make_section_directory = False # -- Options for Texinfo output -------------------------------------------