bug in $(wildcard) with trailing slash

2012-03-02 Thread Eric Blake
Make fails to restrict output to just directories when a wildcard contains both a trailing slash and internal slashes, even though it does the right thing with no internal slashes. $ mkdir /tmp/example $ cd /tmp/example/ $ touch a $ mkdir b $ printf 'all:\n\t@echo $(wildcard */)' | make -f - b/ $

Re: bug in $(wildcard) with trailing slash

2012-03-02 Thread Eric Blake
On 03/02/2012 06:53 AM, Eric Blake wrote: > Make fails to restrict output to just directories when a wildcard > contains both a trailing slash and internal slashes, even though it does > the right thing with no internal slashes. Sorry about that; I meant bug-make, but my mailer autocompleted to th