Date: Sat, 14 Jan 2006 22:28:08 +0200 From: Ruslan Ermilov <ru@freebsd.org> To: Max Laier <max@love2party.net> Cc: freebsd-current@freebsd.org, harti@freebsd.org Subject: Re: make or kmod.mk broken Message-ID: <20060114202808.GC4687@ip.net.ua> In-Reply-To: <200601142113.49362.max@love2party.net> References: <200601140758.02019.max@love2party.net> <20060114195054.GB4687@ip.net.ua> <200601142113.49362.max@love2party.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--oJ71EGRlYNjSvfq7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, Jan 14, 2006 at 09:13:42PM +0100, Max Laier wrote:
> > This OTOH works since FOO variable is special (it's evaluated at parse
> > time):
> >
> > STUFF=3D foo bar foobar
> >
> > mtest:
> > .for FOO in foo
> > @echo ${STUFF:M${FOO}}
> > .endfor
>=20
> Okay, I knew there was a catch. So this can be worked around, thanks for=
the=20
> hint.
>=20
More precisely, .for loops are unrolled before parsing.
Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer
--oJ71EGRlYNjSvfq7
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
iD8DBQFDyV7YqRfpzJluFF4RAvS/AJ9fzI9frF4TEyOSizOm2b+ma8zqxwCeJIjI
iLoV0KxkqLg5QB+S6StwNyo=
=hcIt
-----END PGP SIGNATURE-----
--oJ71EGRlYNjSvfq7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060114202808.GC4687>
