Re: Bug with $(info xxx) in 4.2.1

2023-12-13 Thread Jouke Witteveen
On Fri, Dec 8, 2023 at 7:38 PM Paul Smith wrote: > > In make it's fine to have a make line indented with a TAB, that is not > part of a recipe. If a line appears outside of the context of a rule, > then leading whitespace is ignored. There is a section in the documentation called "How Makefiles

Re: Bug with $(info xxx) in 4.2.1

2023-12-08 Thread Paul Smith
On Thu, 2023-12-07 at 11:38 -0500, Dmitry Goncharov wrote: > On Tue, Dec 5, 2023 at 12:01 AM Aaron Williams > wrote: > > > What is happening is I will get the error: > > *** recipe commences before first target.  Stop. > > At the line with $(info xxx) unless I do not precede it with a tab. > > T

Re: Bug with $(info xxx) in 4.2.1

2023-12-07 Thread Dmitry Goncharov
On Tue, Dec 5, 2023 at 12:01 AM Aaron Williams wrote: > What is happening is I will get the error: > *** recipe commences before first target. Stop. > At the line with $(info xxx) unless I do not precede it with a tab. This error is expected. A tab precedes a recipe. It does not matter what the

Bug with $(info xxx) in 4.2.1

2023-12-04 Thread Aaron Williams
If I have something like the following in my Makefile it is interpreting $(info blah) as a recipe before a target. ifneq ($(SOME_VAR),1) [tab] SOME_OTHER_VAR=SOME_VALUE [tab] $(info"Set SOME_OTHER_VAR=$(SOME_OTHER_VAR)) endif recipes follow What is happening is I will get the error: ***