Documentation/Makefile: add missing xsl dependencies for manpages

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. Observe that manpage-base-url.xsl is a generated file, so we need to list it explicitly, besides the `wildcard` expression we're adding here. Signed-off-by: Martin Ågren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Martin Ågren committed Feb 27, 2019 at 19:17 UTC c91d03aadecc36ca573a8e99df23968f8e7e8c5d
1 file changed +1 -1
Documentation/Makefile
+1 -1
@@ -347,7 +347,7 @@ $(OBSOLETE_HTML): %.html : %.txto asciidoc.conf
347 manpage-base-url.xsl: manpage-base-url.xsl.in
348 $(QUIET_GEN)sed "s|@@MAN_BASE_URL@@|$(MAN_BASE_URL)|" $< > $@
349
350 -%.1 %.5 %.7 : %.xml manpage-base-url.xsl
350 +%.1 %.5 %.7 : %.xml manpage-base-url.xsl $(wildcard manpage*.xsl)
351 $(QUIET_XMLTO)$(RM) $@ && \
352 $(XMLTO) -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man $<
353