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/
$
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