bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #65273] Potential bug in the info function?


From: Ian Prest
Subject: [bug #65273] Potential bug in the info function?
Date: Fri, 9 Feb 2024 20:14:06 -0500 (EST)

Follow-up Comment #8, bug#65273 (group make):

[comment #3 comment #3:]
> The problem is that (a) there is no way to create a variable name
containing, or consisting of, whitespace

Sure there is:

Makefile:
```
SPACE :=
SPACE := $(SPACE) $(SPACE)
$(SPACE) := $(SPACE)
$(warning [$( )])
```

Output:
```
Makefile:4: [ ]
make: *** No targets.  Stop.
```

I'm not sure where I learned this trick, but I think it was probably the John
Graham-Cumming book, so it's probably relatively widely known.

(Admittedly this will cause a warning with the latest HEAD.)


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65273>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]