tech-userlevel archive

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

Re: make: new modifyer :Y



On Tue, Nov 08, 2011 at 12:45:23PM +0200, Aleksey Cheusov wrote:
> On Mon, Nov 7, 2011 at 6:32 PM, Alistair Crooks <agc%pkgsrc.org@localhost> 
> wrote:
> > On Mon, Nov 07, 2011 at 11:56:27AM +0300, Aleksey Cheusov wrote:
> >> [irrelevant example elided - no one is arguing about length here - agc]
> >>
> >> Won't the following be better and easier?
> >>
> >> ? ? ?30 .if ${PKG_DEVELOPER:Y}
> >> ? ? ?31 CHECK_INTERPRETER?= ? ? ? ? ? ? yes
> >> ? ? ?32 .else
> >
> > No.
> >
> > .if ${PKG_DEVELOPER:M${YES}}
> > CHECK_INTERPRETER=yes
> > .endif
> >
> > is much more expressive
> 
> I don't think so. I see, we understand expressiveness and elegance
> completely differently. :M{$YES} form is in my view as ugly as
> !empty(:M{[Yy][Ee][Ss]}).

Please drop this - it is going nowhere.

Thanks,
Alistair


Home | Main Index | Thread Index | Old Index