From owner-freebsd-ports Fri Jan 29 09:19:38 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA11694 for freebsd-ports-outgoing; Fri, 29 Jan 1999 09:19:38 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from mail.dinoex.sub.org (mail.dinoex.sub.de [195.243.29.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA11688 for ; Fri, 29 Jan 1999 09:19:29 -0800 (PST) (envelope-from dirk.meyer@dinoex.sub.org) Received: (from uucp@localhost) by mail.dinoex.sub.org (8.9.1/8.9.1) with UUCP id SAA09881 for freebsd-ports@FreeBSD.ORG; Fri, 29 Jan 1999 18:19:17 +0100 (CET) Received: from gate.dinoex.sub.org (dinoex@localhost) by net2.dinoex.sub.org (8.9.1/8.9.1) with BSMTP id IAA07442 for ; Fri, 29 Jan 1999 08:50:04 +0100 (CET) To: freebsd-ports@FreeBSD.ORG Message-ID: From: dirk.meyer@dinoex.sub.org (Dirk Meyer) Organization: privat Subject: Re: `for` construct in Makefiles Date: Fri, 29 Jan 1999 07:47:00 +0100 X-Mailer: Dinoex 1.69 References: <14001.1199.669731.947141@knecht> X-Gateway: ZCONNECT gate.dinoex.sub.org [UNIX/Connect v0.77-m1] X-ZC-ROT: dinoex.sub.org X-PGP-Fingerprint: 44 16 EC 0A D3 3A 4F 28 8A 8A 47 93 F1 CF 2F 12 X-ZC-VIA: 19990129000000W+1@dinoex.sub.org Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Roland Jesse wrote:, > do-install: > @${MKDIR} ${PREFIX}/ACE_wrappers > for i in ${INSTALLFILES} > do > cp work/${i} ${PREFIX}/ACE_wrappers/${i} > done better use someting like this: do-install: ..for i in ${INSTALL-SHELL} @${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin ..endfor ..for i in ${INSTALL-BIN} @${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin ..endfor ..for i in ${INSTALL-TEXT} @${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/etc ..endfor kind regards Dirk -- Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany -- Tel. +49-5606-6512 . To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message