[bug #54791] means to generate the list of dependencies for a given target

2018-10-05 Thread Markus Kuhn
Follow-up Comment #1, bug #54791 (project make): The bug submission system oddly truncated my example lines, so here another attempt: $ make -Bndr | \ > perl -ne "/Considering target file '(.+)'./"' && print "$1\n"' ___ Reply to this i

[bug #54791] means to generate the list of dependencies for a given target

2018-10-05 Thread Markus Kuhn
URL: Summary: means to generate the list of dependencies for a given target Project: make Submitted by: mgk25 Submitted on: Fri 05 Oct 2018 06:04:20 PM UTC Severity: 3 - Normal

[bug #54727] foreach variable is not visible for a target specific variable definition in a recipe

2018-10-05 Thread Michael Builov
Follow-up Comment #4, bug #54727 (project make): The first version of the patch is not good, make hangs on this test: $ echo '$(eval all: M:=$$(eval all: Q:=(eval all: T:=M)))' | ./make -f - The second version of the patch takes into account that the target-specific context may already b

Re: [bug #54727] foreach variable is not visible for a target specific variable definition in a recipe

2018-10-05 Thread Michael Builov
Many thanks to you, Brian. I'm not solving a real problem, I just found a corner case, which I think should be fixed or documented. In some cases, it is preferable to delay variable expansions in $(eval ...) to speed up the parser, and $(foreach ...) can be used to introduce local variables. It

[bug #54727] foreach variable is not visible for a target specific variable definition in a recipe

2018-10-05 Thread Michael Builov
Additional Item Attachment, bug #54727 (project make): File name: make_bug_54727.patch Size:0 KB ___ Reply to this item at: ___ Message sent