[bug #45211] MAKEFLAGS is not parsed until after makefiles are read on

2015-05-30 Thread Paul D. Smith
Update of bug #45211 (project make): Item Group:None => Enhancement Summary: Add option to MAKEFLAGS (How to set RM variable?) => MAKEFLAGS is not parsed until after makefiles are read on __

Re: Segfault on $(file > bug)

2015-05-30 Thread Paul Smith
On Mon, 2015-05-25 at 19:02 +0200, Andreas Freimuth wrote: > make segfaults after a > $(file > bug) > statement. > > How to reproduce: > $ mkdir /tmp/makeBUG && cd /tmp/makeBUG > $ echo '$(file > bug)' > makefile > $ make > > Tested with: > > GNU Make 4.0 > Built for x86_64-redhat-linux-gnu In

Re: $(file) can't read files

2015-05-30 Thread Paul Smith
On Wed, 2015-05-27 at 07:50 +0100, Tim Murphy wrote: > $(shell cat filename) is also often used to read files into variables. > > There isn't much reason why $(file <) shouldn't read a file though is > there? It would have the additional benefit of being platform > independent. This would not

Re: Segfault on $(file > bug)

2015-05-30 Thread Andreas Freimuth
On 30.05.2015 19:53, Paul Smith wrote: > On Mon, 2015-05-25 at 19:02 +0200, Andreas Freimuth wrote: >> make segfaults after a >> $(file > bug) >> statement. >> >> How to reproduce: >> $ mkdir /tmp/makeBUG && cd /tmp/makeBUG >> $ echo '$(file > bug)' > makefile >> $ make >> >> Tested with: >> >> GN