[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 01/30] configure: Allow user to specify sphinx-build binar
From: |
Peter Maydell |
Subject: |
Re: [PATCH v2 01/30] configure: Allow user to specify sphinx-build binary |
Date: |
Fri, 14 Feb 2020 12:39:40 +0000 |
On Fri, 14 Feb 2020 at 12:20, Markus Armbruster <address@hidden> wrote:
>
> Peter Maydell <address@hidden> writes:
> >> # Default objcc to clang if available, otherwise use CC
> >> @@ -4803,7 +4816,7 @@ has_sphinx_build() {
> >> # sphinx-build doesn't exist at all or if it is too old.
> >> mkdir -p "$TMPDIR1/sphinx"
> >> touch "$TMPDIR1/sphinx/index.rst"
> >> - $sphinx_build -c "$source_path/docs" -b html "$TMPDIR1/sphinx"
> >> "$TMPDIR1/sphinx/out" >/dev/null 2>&1
> >> + "$sphinx_build" -c "$source_path/docs" -b html "$TMPDIR1/sphinx"
> >> "$TMPDIR1/sphinx/out" >/dev/null 2>&1
> >> }
> >
> > This change isn't related to trying sphinx-build-3 --
> > did you actually need it ?
>
> If the for loop finds nothing, $sphinx_build remains empty. Quoting the
> variable seems cleaner.
Oh, I see. Anyway, yes, happy to have quotes here.
thanks
-- PMM
- [PATCH v2 00/30] Convert QAPI doc comments to generate rST instead of texinfo, Peter Maydell, 2020/02/13
- [PATCH v2 01/30] configure: Allow user to specify sphinx-build binary, Peter Maydell, 2020/02/13
- Re: [PATCH v2 01/30] configure: Allow user to specify sphinx-build binary, Markus Armbruster, 2020/02/14
- Re: [PATCH v2 01/30] configure: Allow user to specify sphinx-build binary, Peter Maydell, 2020/02/14
- Re: [PATCH v2 01/30] configure: Allow user to specify sphinx-build binary, Markus Armbruster, 2020/02/14
- Re: [PATCH v2 01/30] configure: Allow user to specify sphinx-build binary,
Peter Maydell <=
- Re: [PATCH v2 01/30] configure: Allow user to specify sphinx-build binary, Markus Armbruster, 2020/02/14
- Re: [PATCH v2 01/30] configure: Allow user to specify sphinx-build binary, Peter Maydell, 2020/02/14
- Re: [PATCH v2 01/30] configure: Allow user to specify sphinx-build binary, Markus Armbruster, 2020/02/15
[PATCH v2 02/30] configure: Check that sphinx-build is using Python 3, Peter Maydell, 2020/02/13
[PATCH v2 03/30] Makefile: Fix typo in dependency list for interop manpages, Peter Maydell, 2020/02/13
[PATCH v2 04/30] qga/qapi-schema.json: Fix missing '-' in GuestDiskBusType doc comment, Peter Maydell, 2020/02/13
[PATCH v2 07/30] qapi/block-core.json: Use literal block for ascii art, Peter Maydell, 2020/02/13