[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #32042] Rules with multiple outputs and intermediate chains

From: Paul D. Smith
Subject: [bug #32042] Rules with multiple outputs and intermediate chains
Date: Mon, 10 Sep 2012 05:46:23 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1

Update of bug #32042 (project make):

           Triage Status:                    None => Medium Effort          


Follow-up Comment #1:

I agree this is a bug.  I think fixing it will not be so simple; by the time
we are setting the intermediate flag on foo.def, foo.ghi has already been
defined as a target and at that point we can't tell whether it was done as a
side-effect of the pattern, or whether there really IS an explicit target
foo.ghi in the makefile (and so we shouldn't mark it intermediate).  We'll
need to find a way to make that distinction.

FYI, the formatting caused problems with your example; here's the makefile I
used to test:

all: foo.jkl

%.jkl: %.def %.ghi ; cat '$^' > '$@'

%.def %.ghi: %.abc
        @echo "Generating $*.def and $*.ghi from $<"
        @sleep 2
        touch '$*.def' '$*.ghi'

%.abc: ; date > '$@'

clean: ; rm -f foo.*


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]