tech-userlevel archive

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

Re: make: new modifyer :Y



On Monday, at 10:10, Joerg Sonnenberger wrote:
| > Won't the following be better and easier?
| > 
| >      30 .if ${PKG_DEVELOPER:Y}
| >      31 CHECK_INTERPRETER?=             yes
| >      32 .else
| 
| There are many different ways to express it better than the above. I
| don't think adding a new modifier, especially an obscure one, is really
| that helpful. Heck, even :true would be more obvious...

What about ".if" directly interpreting "YES", "yes", "1", "true", "on"
etc... as true?

This would be
  .if ${PKG_DEVELOPER}
    CHECK_INTERPRETER?=             yes
  .else



Home | Main Index | Thread Index | Old Index