aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Goutte-Gattat <dgouttegattat@incenp.org>2021-05-03 17:14:22 +0100
committerPeter Maydell <peter.maydell@linaro.org>2021-06-03 16:43:25 +0100
commit269a7e97865cb863c9ca19e5f2e6a40ac9eddf82 (patch)
treef806c977d1da60d9e03ecc748a9ff7558f11eac8
parentf548f20176cb5f440693120f9bde911dd3639748 (diff)
downloadqemu-269a7e97865cb863c9ca19e5f2e6a40ac9eddf82.zip
qemu-269a7e97865cb863c9ca19e5f2e6a40ac9eddf82.tar.gz
qemu-269a7e97865cb863c9ca19e5f2e6a40ac9eddf82.tar.bz2
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 <dgouttegattat@incenp.org> Message-id: 20210503161422.15028-1-dgouttegattat@incenp.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--docs/conf.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 00cf66a..42729e2 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -279,6 +279,7 @@ man_pages = [
['Stefan Hajnoczi <stefanha@redhat.com>',
'Masayoshi Mizuma <m.mizuma@jp.fujitsu.com>'], 1),
]
+man_make_section_directory = False
# -- Options for Texinfo output -------------------------------------------