1124f19fc8
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.
20 lines
464 B
Makefile
20 lines
464 B
Makefile
# $NetBSD: Makefile,v 1.5 2006/11/10 16:30:08 tv Exp $
|
|
#
|
|
|
|
DISTNAME= VTKDocHtml-4.2
|
|
PKGNAME= vtk-docs-4.2
|
|
COMMENT= Documentation for VTK (HTML)
|
|
|
|
WRKSRC= ${WRKDIR}/html
|
|
NO_BUILD= yes
|
|
|
|
HTML_DIR= share/doc/${PKGNAME}
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${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"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|