do-install:

- be noisier.
- create directories first, then install files into them.
This commit is contained in:
grant 2003-05-05 17:41:32 +00:00
parent 799ef4b156
commit b903914ecd

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2003/03/29 12:40:49 jmmv Exp $
# $NetBSD: Makefile,v 1.14 2003/05/05 17:41:32 grant Exp $
#
DISTNAME= freebsd_lib-2.2.7
@ -15,15 +15,15 @@ ONLY_FOR_PLATFORM= NetBSD-*-i386
NO_BUILD= yes
do-install:
@${INSTALL_DATA_DIR} ${PREFIX}/emul/freebsd
@(cd ${WRKSRC} && ${FIND} usr -type d -print) | \
${INSTALL_DATA_DIR} ${PREFIX}/emul/freebsd
${INSTALL_DATA_DIR} ${PREFIX}/emul/freebsd/var/run
(cd ${WRKSRC} && ${FIND} usr -type d -print) | \
(cd ${PREFIX}/emul/freebsd && ${XARGS} ${INSTALL_DATA_DIR})
@cd ${WRKSRC} && for file in `${FIND} usr -name '*.*' -print`; do \
cd ${WRKSRC} && for file in `${FIND} usr -name '*.*' -print`; do \
${INSTALL_DATA} $$file ${PREFIX}/emul/freebsd/$$file; \
done
@${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${INSTALL_FILE} - POST-INSTALL
@${INSTALL_DATA_DIR} ${PREFIX}/emul/freebsd/var/run
@${TOUCH} ${PREFIX}/emul/freebsd/var/run/ld.so.hints
${TOUCH} ${PREFIX}/emul/freebsd/var/run/ld.so.hints
show-shlib-type:
@${ECHO} a.out