installs docs

This commit is contained in:
Ying-Chieh Liao 2004-02-10 03:33:52 +00:00
parent 971d7d079e
commit ea33c854f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100529

View file

@ -34,5 +34,14 @@ do-install:
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${ECHO_CMD} "@dirrm include/wmapp" >> ${TMPPLIST}
${INSTALL_DATA} ${WRKSRC}/libwmapp.a ${PREFIX}/lib
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in FAQ.txt README Widgets.txt
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
@${FIND} ${DOCSDIR} -type f | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}
.endif
.include <bsd.port.mk>