Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 1999 21:42:49 -0600
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        "Roland Jesse" <jesse@prinz-atm.CS.Uni-Magdeburg.De>, <freebsd-ports@FreeBSD.ORG>
Subject:   Re: `for` construct in Makefiles
Message-ID:  <01d401be4b39$718f7a40$0dcb2e9c@westbend.net>
References:  <14001.1199.669731.947141@knecht>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Roland Jesse <jesse@prinz-atm.CS.Uni-Magdeburg.De>

> Hello,
>
> I am currently in the process of putting together the port for ACE
> 4.6.
>
> I already set up the PLIST file with all the names of the files to be
installed
> (which is only a subset of work/ACE_wrappers).
>
> To install all the files, I ended up trying the following:
>
> ------- snip -------
> INSTALLFILES!= cat pkg/PLIST
>
> do-install:
> @${MKDIR} ${PREFIX}/ACE_wrappers
> for i in ${INSTALLFILES}
> do
> cp work/${i} ${PREFIX}/ACE_wrappers/${i}
> done
> ------- snap -------

I believe you have to use $${i} in make files. As the "for .. " statement is
run in a separate shell, and the extra $ escapes the second.

Scot


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01d401be4b39$718f7a40$0dcb2e9c>