diff options
author | jlam <jlam@pkgsrc.org> | 2007-06-13 23:56:11 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-06-13 23:56:11 +0000 |
commit | 20798b0abe07114d04e506e337be3be9f15cb25f (patch) | |
tree | 00d04ac0c1e88c13500454b8eb70dc0b3b6564fc /misc/dtach/Makefile | |
parent | 6b07708bb91b0656495848fc1177b290c7fe61f1 (diff) | |
download | pkgsrc-20798b0abe07114d04e506e337be3be9f15cb25f.tar.gz |
Style nit -- use a shell for loop instead of a bmake .for loop.
Diffstat (limited to 'misc/dtach/Makefile')
-rw-r--r-- | misc/dtach/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/misc/dtach/Makefile b/misc/dtach/Makefile index 6bd68f87420..e18e5bfe9a6 100644 --- a/misc/dtach/Makefile +++ b/misc/dtach/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/06/13 23:53:54 jlam Exp $ +# $NetBSD: Makefile,v 1.3 2007/06/13 23:56:11 jlam Exp $ DISTNAME= dtach-0.7 CATEGORIES= misc @@ -12,13 +12,14 @@ GNU_CONFIGURE= yes BUILD_TARGET= dtach DOCS= COPYING README dtach.spec +DOCDIR= ${PREFIX}/share/doc/${PKGBASE} do-install: ${INSTALL_PROGRAM} ${WRKSRC:Q}/dtach ${PREFIX:Q}/bin ${INSTALL_MAN} ${WRKSRC:Q}/dtach.1 ${PREFIX:Q}/${PKGMANDIR:Q}/man1 - ${INSTALL_DATA_DIR} ${PREFIX:Q}/share/doc/${PKGBASE:Q} -.for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC:Q}/${f:Q} ${PREFIX:Q}/share/doc/${PKGBASE:Q} -.endfor + ${INSTALL_DATA_DIR} ${DOCDIR:Q} + cd ${WRKSRC:Q}; for f in ${DOCS}; do \ + ${INSTALL_DATA} $$f ${DOCDIR}/$$f; \ + done .include "../../mk/bsd.pkg.mk" |