qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Alex Bennée" <alex.bennee@linaro.org>,
	"QEMU Developers" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PULL 12/12] qemu-ga: Convert invocation documentation to rST
Date: Thu, 19 Sep 2019 10:37:09 -0500	[thread overview]
Message-ID: <e5956649-c691-c7f1-de33-afa2bb272a20@redhat.com> (raw)
In-Reply-To: <CAFEAcA9notWQ9JjZ87v3e19dEYeUpGhoZEGLUmf80XFEAcsegw@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1996 bytes --]

On 9/19/19 10:22 AM, Peter Maydell wrote:

> Alex looked at this and suggests the problem is probably because
> you're doing an in-tree build.

Bingo.  I thought we wanted to get rid of that, though.  What's the
status on forcing out-of-tree builds?  (I'll adapt, but only once
patches are in that force me to).

> Sphinx insists that it can't build
> output files into the source tree, so we have a thing where we
> set MANUAL_BUILDDIR to docs/built if we're doing an in-tree build.
> But the filename we add to DOCS is just "docs/interop/qemu-ga.8"
> so for an in-tree build the sphinx rule won't match it, and
> the install rune won't find it either.
> 
> If that's the cause I think this untested fix should help:
> 
> diff --git a/Makefile b/Makefile
> index 111082ce545..8d9dcb3aa4a 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -325,7 +325,7 @@ endif
>  endif
> 

[1]

>  ifdef BUILD_DOCS
> -DOCS=qemu-doc.html qemu-doc.txt qemu.1 qemu-img.1 qemu-nbd.8
> docs/interop/qemu-ga.8
> +DOCS=qemu-doc.html qemu-doc.txt qemu.1 qemu-img.1 qemu-nbd.8
> $(MANUAL_BUILDDIR)/interop/qemu-ga.8

Not quite. This occurs prior to the line defining MANUAL_BUILDDIR,
resulting in:

  GEN     /interop/qemu-ga.8
opening "/interop": No such file or directory

But hoisting the following text up to point [1] makes the build complete
with sphinx installed.  Progress!

> # Sphinx does not allow building manuals into the same directory as
> # the source files, so if we're doing an in-tree QEMU build we must
> # build the manuals into a subdirectory (and then install them from
> # there for 'make install'). For an out-of-tree build we can just
> # use the docs/ subdirectory in the build tree as normal.
> ifeq ($(realpath $(SRC_PATH)),$(realpath .))
> MANUAL_BUILDDIR := docs/built
> else
> MANUAL_BUILDDIR := docs
> endif
-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2019-09-19 15:38 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-13 15:49 [Qemu-devel] [PULL 00/12] target-arm queue Peter Maydell
2019-09-13 15:49 ` [Qemu-devel] [PULL 01/12] hw/gpio: Add basic Aspeed GPIO model for AST2400 and AST2500 Peter Maydell
2019-09-13 15:49 ` [Qemu-devel] [PULL 02/12] aspeed: add a GPIO controller to the SoC Peter Maydell
2019-09-13 15:49 ` [Qemu-devel] [PULL 03/12] aspeed: Remove unused SoC definitions Peter Maydell
2019-09-13 15:49 ` [Qemu-devel] [PULL 04/12] aspeed: Use consistent typenames Peter Maydell
2019-09-13 15:49 ` [Qemu-devel] [PULL 05/12] aspeed/smc: Add support for DMAs Peter Maydell
2019-09-13 15:49 ` [Qemu-devel] [PULL 06/12] aspeed/smc: Add DMA calibration settings Peter Maydell
2024-07-12 14:39   ` Peter Maydell
2024-07-12 15:58     ` Cédric Le Goater
2019-09-13 15:49 ` [Qemu-devel] [PULL 07/12] aspeed/smc: Inject errors in DMA checksum Peter Maydell
2019-09-13 15:49 ` [Qemu-devel] [PULL 08/12] aspeed/smc: Calculate checksum on normal DMA Peter Maydell
2019-09-13 15:49 ` [Qemu-devel] [PULL 09/12] aspeed/scu: Introduce per-SoC SCU types Peter Maydell
2019-09-13 15:49 ` [Qemu-devel] [PULL 10/12] aspeed/scu: Introduce a aspeed_scu_get_apb_freq() routine Peter Maydell
2019-09-13 15:49 ` [Qemu-devel] [PULL 11/12] atomic_template: fix indentation in GEN_ATOMIC_HELPER Peter Maydell
2019-09-13 15:49 ` [Qemu-devel] [PULL 12/12] qemu-ga: Convert invocation documentation to rST Peter Maydell
2019-09-19  1:25   ` Eric Blake
2019-09-19 10:25     ` Alex Bennée
2019-09-19 12:00     ` Peter Maydell
2019-09-19 13:27       ` Eric Blake
2019-09-19 13:35         ` Peter Maydell
2019-09-19 13:54           ` Eric Blake
2019-09-19 15:22             ` Peter Maydell
2019-09-19 15:37               ` Eric Blake [this message]
2019-09-19 15:39                 ` Peter Maydell
2019-10-12 13:59                   ` Eduardo Habkost
2019-09-19 14:00       ` Alex Bennée
2019-09-16 12:21 ` [Qemu-devel] [PULL 00/12] target-arm queue Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e5956649-c691-c7f1-de33-afa2bb272a20@redhat.com \
    --to=eblake@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).