From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 13 21:06:54 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D57C216A4CE; Sun, 13 Feb 2005 21:06:54 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94F9543D1F; Sun, 13 Feb 2005 21:06:54 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id CB15E514F6; Sun, 13 Feb 2005 13:06:53 -0800 (PST) Date: Sun, 13 Feb 2005 13:06:53 -0800 From: Kris Kennaway To: Ruslan Ermilov Message-ID: <20050213210653.GB25082@xor.obsecurity.org> References: <20050213023201.GB24426@xor.obsecurity.org> <20050213111033.GB88954@ip.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LpQ9ahxlCli8rRTG" Content-Disposition: inline In-Reply-To: <20050213111033.GB88954@ip.net.ua> User-Agent: Mutt/1.4.2.1i cc: hackers@freebsd.org cc: Kris Kennaway Subject: Re: Makefile .for and .if expansion X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Feb 2005 21:06:54 -0000 --LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 13, 2005 at 01:10:33PM +0200, Ruslan Ermilov wrote: > > Am I missing an easier way to do this? > >=20 > May I suggest the following instead: >=20 > %%% > MANLANG?=3D foo "" bar > all: > .for i in ${MANLANG:N""} > @echo foo ${i} > .endfor > %%% Thanks for your analysis and helpful suggestion. Kris --LpQ9ahxlCli8rRTG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCD8FtWry0BWjoQKURAq1qAKCSIELUQzMWUGYXEzVy6dCLgOYQbQCg7xvp 9eYuVLryMkOt4d6JQ68VT34= =DVM4 -----END PGP SIGNATURE----- --LpQ9ahxlCli8rRTG--