Message ID | patch-v2-2.4-e232f308e40-20221129T140159Z-avarab@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Makefiles: GNU make 4.4 fixes | expand |
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes: > From: Paul Smith <psmith@gnu.org> > > A GNU make pattern rule with multiple targets has always meant that > a single invocation of the recipe will build all the targets. > However in older versions of GNU make a recipe that did not really > build all the targets would be tolerated. This was in 'next' and was merged to -rc1 already. Thanks, both.
diff --git a/Documentation/Makefile b/Documentation/Makefile index d239f6751f0..89929e3d60b 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -356,7 +356,11 @@ manpage-base-url.xsl: manpage-base-url.xsl.in $(QUIET_GEN)sed "s|@@MAN_BASE_URL@@|$(MAN_BASE_URL)|" $< > $@ $(DOC_MANN): manpage-base-url.xsl $(wildcard manpage*.xsl) -%.1 %.5 %.7 : %.xml +%.1 : %.xml + $(QUIET_XMLTO)$(XMLTO) -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man $< +%.5 : %.xml + $(QUIET_XMLTO)$(XMLTO) -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man $< +%.7 : %.xml $(QUIET_XMLTO)$(XMLTO) -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man $< %.xml : %.txt $(ASCIIDOC_DEPS)