GNU Make 4.4.0.91
Run from an otherwise empty directory:
% cat Makefile
all: prepare
echo $(wildcard */)
echo $(wildcard l*/)
echo $(wildcard */*/)
prepare:
mkdir -p d/d
touch f d/f
ln -sf f l
ln -sf f d/l
% make -s
d/
l
d/d/ d/l
%
So "*/"
On Fri, 2023-02-24 at 08:44 +0100, Gisle Vanem wrote:
> So I want to create a './lib' directory in
> 'Current Directory', but gnumake won't do it
> since there is a 'lib' under 'apps'. Output:
> gnumake: Nothing to be done for 'default'.
>
> Why doesn't it understand the meaning of '.'?
It doe
On Thu, 2023-02-23 at 16:17 -0500, Ken Brown wrote:
> I'm attaching that script so you can see exactly how "make" is
> invoked in a subshell. I'm also attaching my build log up to the
> point of the warning and the Makefile in the ft-build directory in
> which the warning occurred. I've previousl
On Fri, Feb 24, 2023 at 6:55 AM Frank Heckenbach
wrote:
...
> So "*/" ignores the symlink to a file as expected, but "l*/" does
> return it, likewise "*/*/" which doesn't make much sense to me.
There is a known bug in glibc glob impl.
$ ls
makefile
$ cat makefile
all:; $(info $(wildcard hell*/))
On 2/24/2023 9:54 AM, Paul Smith wrote:
On Thu, 2023-02-23 at 16:17 -0500, Ken Brown wrote:
I'm attaching that script so you can see exactly how "make" is
invoked in a subshell. I'm also attaching my build log up to the
point of the warning and the Makefile in the ft-build directory in
which th
On Thu, 2023-02-23 at 16:17 -0500, Ken Brown wrote:
> Sorry, I spoke too soon. I just went back to my original use case,
> in which I used the TeX Live "Build" script instead of directly
> invoking make, and I again got the jobserver warning.
Thanks for the info.
TL;DR: this is not an error in m
Paul Smith wrote:
If you use "-d" you'll get the info you want:
No implicit rule found for 'default'.
Considering target file 'lib'.
Finished prerequisites of target file 'lib'.
No need to remake target 'lib'; using VPATH name 'apps/lib'.
Finished prerequisites of target file
On 2/24/2023 11:29 AM, Paul Smith wrote:
On Thu, 2023-02-23 at 16:17 -0500, Ken Brown wrote:
Sorry, I spoke too soon. I just went back to my original use case,
in which I used the TeX Live "Build" script instead of directly
invoking make, and I again got the jobserver warning.
Thanks for the
On Fri, 2023-02-24 at 17:40 +0100, Gisle Vanem wrote:
> Paul Smith wrote:
> > If you use "-d" you'll get the info you want:
> >
> > No implicit rule found for 'default'.
> > Considering target file 'lib'.
> > Finished prerequisites of target file 'lib'.
> > No need to remake ta