Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jan 1999 07:47:00 +0100
From:      dirk.meyer@dinoex.sub.org (Dirk Meyer)
To:        freebsd-ports@FreeBSD.ORG
Subject:   Re: `for` construct in Makefiles
Message-ID:  <c6WyxmAFfY@dmeyer.dinoex.sub.org>
References:  <14001.1199.669731.947141@knecht>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c6WyxmAFfY>