Re: [bug #55137] $(file …) is executed too early when used in recipe

2019-05-20 Thread Edward Welbourne
Paul Smith (16 May 2019 17:37) > The only idea I have for "legitimate real-world use" is something like: > >foo: >do some things >$(DO-MORE) > > where DO-MORE is some boilerplate macro defined elsewhere, that wants > to perform some checking and invoke $(error ...) if ba

Re: [bug #55137] $(file …) is executed too early when used in recipe

2019-05-16 Thread Britton Kerin
On Thu, May 16, 2019 at 7:37 AM Paul Smith wrote: > > I'm publishing this back to the list as I don't like to have private > conversations on these subjects; hopefully you don't mind. > > On Wed, 2019-05-15 at 11:19 -0800, Britton Kerin wrote: > > I agree that having file behave differently would

Re: [bug #55137] $(file …) is executed too early when used in recipe

2019-05-16 Thread Paul Smith
I'm publishing this back to the list as I don't like to have private conversations on these subjects; hopefully you don't mind. On Wed, 2019-05-15 at 11:19 -0800, Britton Kerin wrote: > I agree that having file behave differently would be weird, but it > does seem like it would be nice if make fun

Re: [bug #55137] $(file …) is executed too early when used in recipe

2019-05-13 Thread Paul Smith
On Mon, 2018-12-03 at 13:36 +0100, Marcin Kasperski wrote: > > > I tried using the following snippet: > > > > > > OUTPUT/something : > > > mkdir -p OUTPUT > > > $(file > $@, something) > > > (…) > > > > That's the defined behaviour. > > All variables are evaluated and all

[bug #55137] $(file …) is executed too early when used in recipe

2019-05-13 Thread Paul D. Smith
Update of bug #55137 (project make): Status:None => Not A Bug Open/Closed:Open => Closed ___ Follow-up Comment #1: It's always been the c

Re: [bug #55137] $(file …) is executed too early when used in recipe

2018-12-03 Thread Marcin Kasperski
> > I tried using the following snippet: > > > >OUTPUT/something : > > mkdir -p OUTPUT > > $(file > $@, something) > > (…) > > That's the defined behaviour. > All variables are evaluated and all functions called before any commands are > run. > It's the result of that evaluat

Re: [bug #55137] $(file …) is executed too early when used in recipe

2018-11-30 Thread Edward Welbourne
Marcin Kasperski (30 November 2018 11:59) > I tried using the following snippet: > >OUTPUT/something : > mkdir -p OUTPUT > $(file > $@, something) > > It crashes with > OUTPUT/something: No such file or directory. Stop. > > Moreover, looks like file is executed before an

[bug #55137] $(file …) is executed too early when used in recipe

2018-11-30 Thread Marcin Kasperski
URL: Summary: $(file …) is executed too early when used in recipe Project: make Submitted by: mekk Submitted on: Fri 30 Nov 2018 10:59:17 AM UTC Severity: 3 - Normal Ite