diff options
author | jlam <jlam> | 2007-06-13 23:56:11 +0000 |
---|---|---|
committer | jlam <jlam> | 2007-06-13 23:56:11 +0000 |
commit | ce84c61eb20e2f149c1d9512d8021b75bae04de6 (patch) | |
tree | 00d04ac0c1e88c13500454b8eb70dc0b3b6564fc /misc | |
parent | 5ef4498ae7a0fadd3282007c117651dcbe3d09e9 (diff) | |
download | pkgsrc-ce84c61eb20e2f149c1d9512d8021b75bae04de6.tar.gz |
Style nit -- use a shell for loop instead of a bmake .for loop.
Diffstat (limited to 'misc')
-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" |