From: Peter Maydell <peter.maydell@linaro.org>
To: "Philippe Mathieu-Daudé" <philmd@redhat.com>
Cc: "QEMU Developers" <qemu-devel@nongnu.org>,
"patches@linaro.org" <patches@linaro.org>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Stefan Hajnoczi" <stefanha@redhat.com>,
"Daniel P . Berrangé" <berrange@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v2 09/11] Makefile, configure: Support building rST documentation
Date: Thu, 28 Feb 2019 16:25:39 +0000 [thread overview]
Message-ID: <CAFEAcA-oRrH81xcYazGgDfiEmORcACtC6S6a96ZMoOMwy20QAg@mail.gmail.com> (raw)
In-Reply-To: <7ec8917a-eabd-6a14-3c1f-38b1d429c900@redhat.com>
On Thu, 28 Feb 2019 at 15:49, Philippe Mathieu-Daudé <philmd@redhat.com> wrote:
>
> Hi Peter,
>
> On 2/28/19 3:56 PM, Peter Maydell wrote:
> > if test "$docs" != "no" ; then
> > - if has makeinfo && has pod2man; then
> > + if has makeinfo && has pod2man && has sphinx-build; then
>
> Unrelated to your patch, I tried that on fresh Fedora image where no
> python2 installed (on purpose). sphinx-build is not included in the
> suggested python3-sphinx. Once python2-sphinx installed (which pull a
> lot of py2 packages) I could test your series.
Yeah, Fedora gives the Python 3 version of the tool a silly name.
I'm told newer Fedora fix this.
> Again, not related to your patch, but 'make install-sphinxdocs' clone
> libfdt + capstone, requires C compiler to build libfdt.a and C++ to
> build libcapstone.a. Once both build we can generate the doc.
Yes, this sounds like an unrelated thing -- our makefiles
sometimes does more work than you expect because of some
things that we do up front (like building anything in
GENERATED_FILES, or doing this subdirs stuff). You can see
that sometimes when you do 'make clean' and it builds a
bunch of stuff before deleting it.
> > +# Sphinx builds all its documentation at once in one invocation
> > +# and handles "don't rebuild things unless necessary" itself.
> > +# The '.doctrees' files are cached information to speed this up.
>
> Can you add .doctrees to .gitignore?
Sure. I tend to forget about this because I never do in-tree
builds, so anything in the build directory doesn't show up
in git status separately.
> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Thanks for the review.
-- PMM
next prev parent reply other threads:[~2019-02-28 16:26 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-28 14:56 [Qemu-devel] [PATCH v2 00/11] Enable build and install of our rST docs Peter Maydell
2019-02-28 14:56 ` [Qemu-devel] [PATCH v2 01/11] docs/cpu-hotplug.rst: Fix rST markup issues Peter Maydell
2019-02-28 16:14 ` Philippe Mathieu-Daudé
2019-02-28 16:34 ` Peter Maydell
2019-02-28 14:56 ` [Qemu-devel] [PATCH v2 02/11] docs: Convert memory.txt to rst format Peter Maydell
2019-02-28 14:56 ` [Qemu-devel] [PATCH v2 03/11] docs: Commit initial files from sphinx-quickstart Peter Maydell
2019-02-28 16:01 ` Philippe Mathieu-Daudé
2019-02-28 16:27 ` Peter Maydell
2019-02-28 14:56 ` [Qemu-devel] [PATCH v2 04/11] docs/conf.py: Disable unused _static directory Peter Maydell
2019-02-28 14:56 ` [Qemu-devel] [PATCH v2 05/11] docs/conf.py: Configure the 'alabaster' theme Peter Maydell
2019-02-28 14:56 ` [Qemu-devel] [PATCH v2 06/11] docs/conf.py: Don't include rST sources in HTML build Peter Maydell
2019-02-28 14:56 ` [Qemu-devel] [PATCH v2 07/11] docs/conf.py: Disable option warnings Peter Maydell
2019-02-28 14:56 ` [Qemu-devel] [PATCH v2 08/11] docs: Provide separate conf.py for each manual we want Peter Maydell
2019-02-28 14:56 ` [Qemu-devel] [PATCH v2 09/11] Makefile, configure: Support building rST documentation Peter Maydell
2019-02-28 15:49 ` Philippe Mathieu-Daudé
2019-02-28 16:25 ` Peter Maydell [this message]
2019-03-05 12:47 ` Peter Maydell
2019-03-05 15:24 ` Peter Maydell
2019-03-06 10:53 ` Paolo Bonzini
2019-02-28 14:56 ` [Qemu-devel] [PATCH v2 10/11] Makefile: Abstract out "identify the pkgversion" code Peter Maydell
2019-02-28 14:56 ` [Qemu-devel] [PATCH v2 11/11] docs/conf.py: Don't hard-code QEMU version Peter Maydell
2019-02-28 15:55 ` Philippe Mathieu-Daudé
2019-02-28 15:15 ` [Qemu-devel] [PATCH v2 00/11] Enable build and install of our rST docs no-reply
2019-02-28 15:34 ` no-reply
2019-02-28 15:50 ` Aleksandar Markovic
2019-02-28 15:53 ` no-reply
2019-02-28 15:59 ` no-reply
2019-02-28 16:18 ` no-reply
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=CAFEAcA-oRrH81xcYazGgDfiEmORcACtC6S6a96ZMoOMwy20QAg@mail.gmail.com \
--to=peter.maydell@linaro.org \
--cc=alex.bennee@linaro.org \
--cc=berrange@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=patches@linaro.org \
--cc=pbonzini@redhat.com \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/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).