diff options
author | tv <tv@pkgsrc.org> | 2006-11-10 16:30:08 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2006-11-10 16:30:08 +0000 |
commit | 7784e36a575333197f4e40ed7e97cd28ec05d77f (patch) | |
tree | f4a3b576ed434ca7965a970c28e9b4509fd8bf38 /graphics/vtk-docs/Makefile | |
parent | e76691add11b4288a96bfd308afa0f2519c574c0 (diff) | |
download | pkgsrc-7784e36a575333197f4e40ed7e97cd28ec05d77f.tar.gz |
For some reason, Interix "find ... -exec" leaks a little bit of memory,
which on large trees involving thousands of -exec's, makes find turn
into a humongous process. It's faster on most systems to use other
methods anyway, so use xargs where practical, or pipe to a
"while read f; do ..." loop and let the shell do what it was meant
to do -- run programs.
Diffstat (limited to 'graphics/vtk-docs/Makefile')
-rw-r--r-- | graphics/vtk-docs/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/vtk-docs/Makefile b/graphics/vtk-docs/Makefile index f04c40f8e71..51da921c722 100644 --- a/graphics/vtk-docs/Makefile +++ b/graphics/vtk-docs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2006/01/29 03:32:17 rillig Exp $ +# $NetBSD: Makefile,v 1.5 2006/11/10 16:30:08 tv Exp $ # DISTNAME= VTKDocHtml-4.2 @@ -12,7 +12,8 @@ HTML_DIR= share/doc/${PKGNAME} do-install: ${INSTALL_DATA_DIR} ${PREFIX:Q}/${HTML_DIR:Q} - ${FIND} ${WRKSRC:Q} -type f -exec ${INSTALL_DATA} {} ${PREFIX:Q}/${HTML_DIR:Q} \; + ${FIND} ${WRKSRC:Q} -type f -print | \ + while read f; do ${INSTALL_DATA} $$f ${PREFIX:Q}/${HTML_DIR:Q}; done .include "../../graphics/vtk/Makefile.common" |