[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: $(file) function bug or not?
From: |
wpmcnamara |
Subject: |
Re: $(file) function bug or not? |
Date: |
Wed, 5 Feb 2014 09:10:18 -0800 (PST) |
David Boyce-3 wrote
> Paul has already demonstrated later in the thread that I was wrong.
> Nothing to see here, move along.
>
> David
>
> On Wed, Feb 5, 2014 at 7:42 AM, wpmcnamara <
> wpmcnamara@
> > wrote:
>> David Boyce-3 wrote
>>> I think the headline here is that $(file) is analogous to $(shell) in
>>> that it's intended specifically for use _outside_ of recipes.
>>
>> Then why does the example given in the GNU Make manual show $(file) being
>> used in a recipe? Not arguing whether it is intended to be used there
>> are
>> not as I'm not expert enough to know one way or another.
>>
>> Patrick
>>
>>
>>
>> --
>> View this message in context:
>> http://gnu-make.2324884.n4.nabble.com/file-function-bug-or-not-tp15161p15213.html
>> Sent from the Gnu - Make - Bugs mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Bug-make mailing list
>>
> Bug-make@
>> https://lists.gnu.org/mailman/listinfo/bug-make
>
> _______________________________________________
> Bug-make mailing list
> Bug-make@
> https://lists.gnu.org/mailman/listinfo/bug-make
Fair enough. I was chasing a similar failure in $(file) to create the file.
Turns out it was a version issue. $(file) didn't appear until 4.0 and a
call to it prior to that appears to silently do nothing.
Thanks,
Patrick M
--
View this message in context:
http://gnu-make.2324884.n4.nabble.com/file-function-bug-or-not-tp15161p15217.html
Sent from the Gnu - Make - Bugs mailing list archive at Nabble.com.