Re: [PATCH 1/3] Documentation/Makefile: add missing xsl dependencies for manpages
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Feb 25, 2019, 21:00 UTC
- Message-ID
- <CAPig+cRTj_jHFrqyYsn=ivuO9uNcWjB=5okX0SCGoeWU=uR8Gw@mail.gmail.com>
- In-Reply-To
- <CAN0heSrogSpdSOGj0ibx0Dcjw=0o0u0VSivfjgL7r5f-Jiqs3w@mail.gmail.com>
On Mon, Feb 25, 2019 at 3:29 PM Martin Ågren <martin.agren@gmail.com> wrote:
Show 14 quoted lines
> On Mon, 25 Feb 2019 at 21:08, Eric Sunshine <sunshine@sunshineco.com> wrote: > > On Mon, Feb 25, 2019 at 3:03 PM Martin Ågren <martin.agren@gmail.com> wrote: > > > -%.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.
I guess I was further confused by the fact that manpage-base-url.xsl is still present even after "make distclean", which is not something I would have expected for a generated file. (Perhaps something to consider "fixing" if you re-roll, or not if it's out of scope.)