Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bug in make?!?

On Tue, Nov 18, 2008 at 03:30:49PM -0400, Marko Schütz wrote:
> Dear All,
> I think I may have found a bug in make. 
> With the attached and a subdirectory containing a file test.c
> I would expect the output 
>   dependency rule finds test/test.c on . /home/marko/tmp test
>   "exists" finds test.c on . /home/marko/tmp test
> instead the resulting output is
>   dependency rule finds test/test.c on . /home/marko/tmp test
>   "exists" does not find test.c on . /home/marko/tmp test
> Am I missing something here?

I'm not sure why you expect a .if test, which has to be evaluated at
parsing time, to be of any use with a variable whose value is set at
target evaluation time.

Quentin Garnier - -
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.

Attachment: pgpr5QDMP9VnL.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index