Issue 66448 - Document that %-targets only use first (non indirect) prerequisite
Summary: Document that %-targets only use first (non indirect) prerequisite
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: dmake (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: hjs
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-14 23:52 UTC by quetschke
Modified: 2013-08-07 15:34 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Patch for dmake (29.67 KB, patch)
2007-08-07 02:39 UTC, quetschke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description quetschke 2006-06-14 23:52:09 UTC
This is a follow up for issue 48087.

For a rule like:

%.a : %.b %.c
	echo "Something"

only the first prequisite is used when building a target that's infered
from that rule.
Comment 1 quetschke 2007-08-07 02:39:45 UTC
Created attachment 47353 [details]
Patch for dmake
Comment 2 quetschke 2007-08-07 02:54:56 UTC
Because of the internal design dmakes inference mechanism only works with at most
one prerequisite for %-targets. Indirect prerequisites can be used to add more
dependencies to the target, but those are not used in the inference mechanism.

Patch committed, subject changed accordingly.
Comment 3 quetschke 2007-08-07 02:55:42 UTC
Please verify
Comment 4 hjs 2007-10-11 17:21:10 UTC
found that stated in the manpage
Comment 5 hjs 2007-12-21 13:40:31 UTC
dmake 4.11 is in use now