Follow-up Comment #1, bug #63362 (project make):

I am not sure why things behave differently between -j1 and -j2 I will have to
investigate it.  You can more easily determine what is going on if you invoke
make with the `--trace` option.

However, this rule seems wrong and always has been:

%.1 %.5 %.7 : %.xml manpage-base-url.xsl $(wildcard manpage*.xsl)
        $(QUIET_XMLTO)$(XMLTO) -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man $<

To make this means that one invocation of that recipe for a file xyz.xml will
build ALL the targets xyz.1, xyz.5, and xyz.7.  Which, it does not do as best
as I can tell.

Possibly the author of the makefile thought that the above command is
equivalent to writing this:

%.1 : %.xml manpage-base-url.xsl $(wildcard manpage*.xsl)
        $(QUIET_XMLTO)$(XMLTO) -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man $<
%.5 : %.xml manpage-base-url.xsl $(wildcard manpage*.xsl)
        $(QUIET_XMLTO)$(XMLTO) -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man $<
%.7 : %.xml manpage-base-url.xsl $(wildcard manpage*.xsl)
        $(QUIET_XMLTO)$(XMLTO) -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man $<

but it is not the same thing; if you want three different rules you have to,
unfortunately, write them all out like that.  This is why you're seeing that
warning.  But I don't know that this has anything to do with why things are
being rebuilt.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63362>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/


Reply via email to