[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 135/147] meson: sphinx-build
From: |
Peter Maydell |
Subject: |
Re: [PATCH 135/147] meson: sphinx-build |
Date: |
Mon, 10 Aug 2020 20:21:11 +0100 |
On Mon, 10 Aug 2020 at 20:06, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> On 10/08/20 20:33, Peter Maydell wrote:
> > Does "build_always_stale: true" do what I guess it does from the
> > name? Does this mean we're discarding the makefile's approach of
> > only running sphinx if it's necessary in favour of always running
> > half a dozen sphinx invocations every build ?
>
> Yes, because the Makefile's approach is not maintainable in my opinion;
> *.rst.inc files were already not included in the Makefile. I'll look
> into using a Sphinx extension to produce a dependency file.
Yeah, agreed that the makefile approach isn't great. (It lists
some .rst.inc files but we added more without updating the
dependencies, I think.)
If Sphinx can be persuaded to output a dependency file that
would certainly be the nicest approach; I hadn't thought
of trying that.
It would be nice to note in the commit messages where the
conversion has made this kind of "we're going to do it a
different way" design decision rather than just being
a translation of the makefile logic into Meson.
thanks
-- PMM
- [PATCH 129/147] meson: cpu-emu, (continued)
- [PATCH 129/147] meson: cpu-emu, Paolo Bonzini, 2020/08/10
- [PATCH 133/147] rules.mak: remove version.o, Paolo Bonzini, 2020/08/10
- [PATCH 132/147] meson: convert systemtap files, Paolo Bonzini, 2020/08/10
- [PATCH 131/147] meson: link emulators without Makefile.target, Paolo Bonzini, 2020/08/10
- [PATCH 134/147] remove Makefile.target, Paolo Bonzini, 2020/08/10
- [PATCH 135/147] meson: sphinx-build, Paolo Bonzini, 2020/08/10
- Re: [PATCH 135/147] meson: sphinx-build, Peter Maydell, 2020/08/10
- Re: [PATCH 135/147] meson: sphinx-build, Paolo Bonzini, 2020/08/10
- Re: [PATCH 135/147] meson: sphinx-build,
Peter Maydell <=
- Re: [PATCH 135/147] meson: sphinx-build, Paolo Bonzini, 2020/08/10
- Re: [PATCH 135/147] meson: sphinx-build, Peter Maydell, 2020/08/10
- Re: [PATCH 135/147] meson: sphinx-build, Paolo Bonzini, 2020/08/10
- Re: [PATCH 135/147] meson: sphinx-build, Peter Maydell, 2020/08/10
- Re: [PATCH 135/147] meson: sphinx-build, Paolo Bonzini, 2020/08/10
- Re: [PATCH 135/147] meson: sphinx-build, Paolo Bonzini, 2020/08/11
[PATCH 136/147] meson: build texi doc, Paolo Bonzini, 2020/08/10
[PATCH 137/147] meson: convert check-block, Paolo Bonzini, 2020/08/10
[PATCH 140/147] meson: convert sample plugins, Paolo Bonzini, 2020/08/10
[PATCH 141/147] meson: move SDL and SDL-image detection to meson, Paolo Bonzini, 2020/08/10