dmake icon indicating copy to clipboard operation
dmake copied to clipboard

Bug 81627 - Show %-targets without prerequisites in inference chain

Open mohawk2 opened this issue 11 years ago • 2 comments

In issue 80368 it can be seen that it can be a problem that %-targets without prerequisites are not shown in ambiguous inference chains.

With the following attached makefile try:

$ ./dmake/dmake.exe -rf makefile.mk

There will be no indication that the lev2%.txt or lev2%.html targets are used for the inference chain.

mohawk2 avatar Aug 28 '14 03:08 mohawk2

SHELL*:=/bin/sh
SHELLFLAGS*:=-ce

lev0%.html : lev1%.txt
        echo rule 2
        echo $< $@

lev0%.html : lev1%.html
        echo rule 1
        echo $< $@

lev1%.txt : lev2%.txt
        echo rule txt
        echo $< $@

lev1%.html : lev2%.html
        echo rule html
        echo $< $@

lev2%.txt :
        echo Default txt
        echo $< $@

lev2%.html :
        echo Default html
        echo $< $@

aaa : lev0blah.html
        echo aaa

mohawk2 avatar Aug 28 '14 03:08 mohawk2

https://issues.apache.org/ooo/show_bug.cgi?id=81627

mohawk2 avatar Aug 30 '14 01:08 mohawk2