Re: [PATCH 1/3] Documentation/Makefile: add missing xsl dependencies for manpages
- From
- Martin Ågren <martin.agren@gmail.com>
- Date
- Feb 25, 2019, 20:28 UTC
- Message-ID
- <CAN0heSrogSpdSOGj0ibx0Dcjw=0o0u0VSivfjgL7r5f-Jiqs3w@mail.gmail.com>
- In-Reply-To
- <CAPig+cS7BdHhLn+XjjyVa+PC040y-E4iPD=kuDtigenzSHcFKQ@mail.gmail.com>
On Mon, 25 Feb 2019 at 21:08, Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 18 quoted lines
> > On Mon, Feb 25, 2019 at 3:03 PM Martin Ågren <martin.agren@gmail.com> wrote: > > These stylesheets very rarely change, but when they do, it really helps > > if the manpages depend on them. We're casting the net a bit too wide > > here, since we'll only ever use a subset of the stylesheets, but since > > these files change so rarely, that should be ok. It's better than > > missing a dependency. > > > > Signed-off-by: Martin Ågren <martin.agren@gmail.com> > > --- > > diff --git a/Documentation/Makefile b/Documentation/Makefile > > @@ -354,7 +354,7 @@ $(OBSOLETE_HTML): %.html : %.txto asciidoc.conf > > -%.1 %.5 %.7 : %.xml manpage-base-url.xsl > > +%.1 %.5 %.7 : %.xml manpage-base-url.xsl $(wildcard manpage*.xsl) > > The wildcard expression also matches the manpage-base-url.xsl > mentioned explicitly. Did you intentionally retain the explicit one or > was that an oversight?
Hmm, I should have mentioned that, thanks for asking for clarification.
It's intentional. You can see in the context how manpage-base-url.xsl is actually generated, so the wildcard won't be able to expand to mention it. That's subtle enough that it warrants being mentioned upfront.
Martin