Don't install docs if NOPORTDOCS is set.

This commit is contained in:
David E. O'Brien 1997-11-16 02:14:26 +00:00
parent 508e99c1b9
commit 88c00229be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=8651
2 changed files with 6 additions and 2 deletions

View file

@ -3,7 +3,7 @@
# Date created: 7 November 1997
# Whom: jraynard
#
# $Id: Makefile,v 1.1.1.1 1997/11/08 20:33:00 jraynard Exp $
# $Id: Makefile,v 1.2 1997/11/10 09:17:57 asami Exp $
#
DISTNAME= sim_2.3
@ -31,7 +31,9 @@ do-install:
${INSTALL_PROGRAM} ${WRKDIR}/pdp9 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/pdp11 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/pdp15 ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/sim && ${INSTALL_DATA} ${WRKDIR}/simh_doc.txt \
${PREFIX}/share/doc/sim
.endif
.include <bsd.port.mk>

View file

@ -3,7 +3,7 @@
# Date created: 7 November 1997
# Whom: jraynard
#
# $Id: Makefile,v 1.1.1.1 1997/11/08 20:33:00 jraynard Exp $
# $Id: Makefile,v 1.2 1997/11/10 09:17:57 asami Exp $
#
DISTNAME= sim_2.3
@ -31,7 +31,9 @@ do-install:
${INSTALL_PROGRAM} ${WRKDIR}/pdp9 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/pdp11 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/pdp15 ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/sim && ${INSTALL_DATA} ${WRKDIR}/simh_doc.txt \
${PREFIX}/share/doc/sim
.endif
.include <bsd.port.mk>