On Tue, 2018-04-10 at 13:07 +0300, Basin Ilya wrote:
> As you can see, the message "finding SQLFILES..." is printed to
> stderr, but I want the original stdout instead. Does GNU Make make it
> available as some other fd, say, "4"?
Good that you got an answer; just for completeness I'll say that no
Basin,
This should do what you want:
SQLFILES := $(info finding SQLFILES...)$(shell cd "$(srcdir)" && find .
-name "*.sql")
Sam Kendall
On Tue, Apr 10, 2018 at 11:08 AM Basin Ilya wrote:
> Hi David.
> I'll try to explain what I want better. The evaluation should print a
> diagnostic message a
Thank you Sam, that's exactly what I needed.
On 10.04.2018 18:12, Sam Kendall wrote:
> Basin,
>
> This should do what you want:
>
> SQLFILES := $(info finding SQLFILES...)$(shell cd "$(srcdir)" && find . -name
> "*.sql")
>
> Sam Kendall
>
> On Tue, Apr 10, 2018 at 11:08 AM Basin Ilya
Hi David.
I'll try to explain what I want better. The evaluation should print a
diagnostic message and it should be printed to a file descriptor that was the
stdout of the make program when it was started. That is, when you run the make
command with output redirected to /dev/null, the diagnostic
This looks like a basic shell programming issue, not a make problem at all.
Try pulling this logic out of make and running it directly in the shell; if
it behaves correctly there but not when plugged back into make, then you'll
have a make question. This looks more like a scoping problem. Here is
(