All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Niek Linnenbank <nieklinnenbank@gmail.com>,
	qemu-arm@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [PATCH 1/5] Makefile: Allow for subdirectories in Sphinx manual dependencies
Date: Tue, 10 Mar 2020 14:29:13 +0000	[thread overview]
Message-ID: <87d09ki8qu.fsf@linaro.org> (raw)
In-Reply-To: <20200309215818.2021-2-peter.maydell@linaro.org>


Peter Maydell <peter.maydell@linaro.org> writes:

> Currently we put 'docs/foo/*.rst' in the Make list of dependencies
> for the Sphinx 'foo' manual, which means all the files must be
> in the top level of that manual's directory. We'd like to be
> able to have subdirectories inside some of the manuals, so add
> 'docs/foo/*/*.rst' to the dependencies too.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index 2e930688942..5dba949947a 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1081,7 +1081,7 @@ sphinxdocs: $(MANUAL_BUILDDIR)/devel/index.html \
>  # a single doctree: https://github.com/sphinx-doc/sphinx/issues/2946
>  build-manual = $(call quiet-command,CONFDIR="$(qemu_confdir)" $(SPHINX_BUILD) $(if $(V),,-q) -W -b $2 -D version=$(VERSION) -D release="$(FULL_VERSION)" -d .doctrees/$1-$2 $(SRC_PATH)/docs/$1 $(MANUAL_BUILDDIR)/$1 ,"SPHINX","$(MANUAL_BUILDDIR)/$1")
>  # We assume all RST files in the manual's directory are used in it
> -manual-deps = $(wildcard $(SRC_PATH)/docs/$1/*.rst) \
> +manual-deps = $(wildcard $(SRC_PATH)/docs/$1/*.rst $(SRC_PATH)/docs/$1/*/*.rst) \
>                $(SRC_PATH)/docs/defs.rst.inc \
>                $(SRC_PATH)/docs/$1/conf.py $(SRC_PATH)/docs/conf.py
>  # Macro to write out the rule and dependencies for building manpages


-- 
Alex Bennée


  reply	other threads:[~2020-03-10 14:30 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-09 21:58 [PATCH 0/5] docs/system: Split target-arm.rst Peter Maydell
2020-03-09 21:58 ` [PATCH 1/5] Makefile: Allow for subdirectories in Sphinx manual dependencies Peter Maydell
2020-03-10 14:29   ` Alex Bennée [this message]
2020-03-10 20:37   ` Niek Linnenbank
2020-03-11  6:36   ` Richard Henderson
2020-03-09 21:58 ` [PATCH 2/5] docs/system: Split target-arm.rst into sub-documents Peter Maydell
2020-03-10 14:29   ` Alex Bennée
2020-03-10 20:53   ` Niek Linnenbank
2020-03-09 21:58 ` [PATCH 3/5] docs/system/target-arm.rst: Add some introductory text Peter Maydell
2020-03-10 14:54   ` Alex Bennée
2020-03-10 20:58   ` Niek Linnenbank
2020-03-09 21:58 ` [PATCH 4/5] docs: Move arm-cpu-features.rst into the system manual Peter Maydell
2020-03-10 14:54   ` Alex Bennée
2020-03-10 21:00   ` Niek Linnenbank
2020-03-09 21:58 ` [PATCH 5/5] docs: Be consistent about capitalization of 'Arm' Peter Maydell
2020-03-10 14:55   ` Alex Bennée
2020-03-10 21:01   ` Niek Linnenbank
2020-03-09 22:45 ` [PATCH 0/5] docs/system: Split target-arm.rst 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=87d09ki8qu.fsf@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=nieklinnenbank@gmail.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-arm@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.