do-build:

- use cd && ... instead of cd ; ...

let make handle errors in do-install rather than stacking commands
with ;
This commit is contained in:
grant 2003-05-05 17:45:35 +00:00
parent 52a519c9b0
commit 90dcbc50c3

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2003/03/29 12:40:49 jmmv Exp $
# $NetBSD: Makefile,v 1.4 2003/05/05 17:45:35 grant Exp $
DISTNAME= minivmac-0.1.7.src
PKGNAME= minivmac-0.1.7
@ -18,12 +18,12 @@ SCRIPTS_ENV+= CC="${CC}"
DOCDIR= ${PREFIX}/share/doc/html/minivmac
do-build:
cd ${WRKSRC}/tool/bash; \
cd ${WRKSRC}/tool/bash &&
${SETENV} ${SCRIPTS_ENV} ${SH} build
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/drv/minivmac ${PREFIX}/bin; \
${INSTALL_DATA_DIR} ${DOCDIR}; \
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCDIR}
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_PROGRAM} ${WRKSRC}/drv/minivmac ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCDIR}
.include "../../mk/bsd.pkg.mk"