`Test -d'' is unnecessary if
`mkdir -p'' is used.
This commit is contained in:
parent
e1ab5d8574
commit
ab64a16012
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=4169
1 changed files with 4 additions and 7 deletions
|
@ -3,7 +3,7 @@
|
|||
# Date created: 23 Sep 1996
|
||||
# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1996/10/19 05:16:53 max Exp $
|
||||
# $Id: Makefile,v 1.3 1996/10/27 00:20:23 max Exp $
|
||||
#
|
||||
|
||||
DISTNAME= mnews119
|
||||
|
@ -30,16 +30,13 @@ do-configure:
|
|||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/mnews ${PREFIX}/bin
|
||||
if [ ! -d ${PREFIX}/lib/mnews ] ; \
|
||||
then ${MKDIR} -p ${PREFIX}/lib/mnews ; fi
|
||||
${MKDIR} -p ${PREFIX}/lib/mnews
|
||||
${INSTALL_DATA} ${WRKSRC}/jnames.fj ${PREFIX}/lib/mnews/jnames
|
||||
if [ ! -d ${PREFIX}/share/doc/mnews ] ; \
|
||||
then ${MKDIR} -p ${PREFIX}/share/doc/mnews; fi
|
||||
${MKDIR} -p ${PREFIX}/share/doc/mnews
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/doc/mnews
|
||||
.endfor
|
||||
if [ ! -d ${PREFIX}/share/examples/mnews ] ; \
|
||||
then ${MKDIR} -p ${PREFIX}/share/examples/mnews; fi
|
||||
${MKDIR} -p ${PREFIX}/share/examples/mnews
|
||||
.for f in ${SAMPLES}
|
||||
${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/examples/mnews
|
||||
.endfor
|
||||
|
|
Loading…
Reference in a new issue