tech-userlevel archive

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

Re: Make's empty(), defined() and .ifdef don't catch outer .for iterators



> 26/7/8 14:57、Roland Illig <roland.illig%gmx.de@localhost>:
> 
> The usual workaround is to write this instead: 
> 
> .if ${i:M[Yy][Ee][Ss]} 


Yeah, that's the point.

.if !empty(i:M[Yy][Ee][Ss])

and

.if ${i:M[Yy][Ee][Ss]}

are resolved into different results seems weird to me.


> See usr.bin/make/unit-tests/directive-for-empty.mk for a more detailed explanation. 

Thank you.

-- 
Kogulé, Ryo




Home | Main Index | Thread Index | Old Index