Pattern rules and '/'

2023-02-27 Thread Frank Heckenbach
GNU Make 4.4.1 According to the manual, in pattern rules, "the '%' matches any nonempty substring". Accordingly, I'd have expected this Makefile: all: foo-bar/baz foo-%:; echo "$*" to echo "bar/baz". But instead, I get: make: *** No rule to make target 'foo-bar/baz', needed by 'all'. Sto

[bug #31621] interaction of pattern rules and globs

2013-09-22 Thread Paul D. Smith
Update of bug #31621 (project make): Status:None => Duplicate Open/Closed:Open => Closed ___ Follow-up Comment #4: I can reproduce this w

[bug #31621] interaction of pattern rules and globs

2011-07-29 Thread anonymous
Follow-up Comment #3, bug #31621 (project make): One solution is to enable second expansion and to use the $(wildcard ...) function: $ cat x.mk .SECONDEXPANSION: %/md5: $$(wildcard %/sums/*.md5) echo action ___ Reply to this

[bug #31621] interaction of pattern rules and globs

2011-07-29 Thread anonymous
Follow-up Comment #2, bug #31621 (project make): This is a regression introduced in make-3.82. make-3.81 handles this wihtout problems. Directory names build from patterns seem to prevent wildcard expansion. ___ Reply to this item at:

[bug #31621] interaction of pattern rules and globs

2010-11-11 Thread Petr Machata
Follow-up Comment #1, bug #31621 (project make): Forgot to post this: $ cat x.mk %/md5: %/sums/*.md5 echo action ___ Reply to this item at: ___

[bug #31621] interaction of pattern rules and globs

2010-11-11 Thread Petr Machata
URL: <http://savannah.gnu.org/bugs/?31621> Summary: interaction of pattern rules and globs Project: make Submitted by: pmachata Submitted on: Чтв 11 Ноя 2010 15:39:36 Severity: 3 - Normal Item Grou