2013-10-08 18:05:29 +02:00
|
|
|
# $NetBSD: Makefile,v 1.7 2011/10/11 19:20:14 joerg Exp $
|
2011-09-26 18:19:29 +02:00
|
|
|
|
2013-10-08 18:05:29 +02:00
|
|
|
MAN= mandoc_man.7 mandoc_char.7 mandoc_eqn.7 mandoc_mdoc.7 \
|
|
|
|
mandoc_roff.7 mandoc_tbl.7
|
2011-09-26 18:19:29 +02:00
|
|
|
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
|
2013-10-08 18:05:29 +02:00
|
|
|
mandoc_eqn.7: ${DISTDIR}/eqn.7
|
|
|
|
${_MKTARGET_CREATE}
|
|
|
|
rm -f ${.TARGET}
|
|
|
|
${TOOL_CAT} ${DISTDIR}/eqn.7 > ${.TARGET}
|
|
|
|
|
2011-09-26 18:19:29 +02:00
|
|
|
mandoc_man.7: ${DISTDIR}/man.7
|
|
|
|
${_MKTARGET_CREATE}
|
|
|
|
rm -f ${.TARGET}
|
|
|
|
${TOOL_CAT} ${DISTDIR}/man.7 > ${.TARGET}
|
|
|
|
|
|
|
|
mandoc_mdoc.7: ${DISTDIR}/mdoc.7
|
|
|
|
${_MKTARGET_CREATE}
|
|
|
|
rm -f ${.TARGET}
|
|
|
|
${TOOL_CAT} ${DISTDIR}/mdoc.7 > ${.TARGET}
|
|
|
|
|
|
|
|
mandoc_roff.7: ${DISTDIR}/roff.7
|
|
|
|
${_MKTARGET_CREATE}
|
|
|
|
rm -f ${.TARGET}
|
|
|
|
${TOOL_CAT} ${DISTDIR}/roff.7 > ${.TARGET}
|
|
|
|
|
|
|
|
mandoc_tbl.7: ${DISTDIR}/tbl.7
|
|
|
|
${_MKTARGET_CREATE}
|
|
|
|
rm -f ${.TARGET}
|
|
|
|
${TOOL_CAT} ${DISTDIR}/tbl.7 > ${.TARGET}
|
|
|
|
|
2013-10-08 18:05:29 +02:00
|
|
|
CLEANFILES+= mandoc_eqn.7 mandoc_man.7 mandoc_mdoc.7 \
|
|
|
|
mandoc_roff.7 mandoc_tbl.7
|
2011-09-26 18:19:29 +02:00
|
|
|
|
|
|
|
.if (${MKHTML} != "no") && (${MKMAN} != "no")
|
|
|
|
FILES= ${DISTDIR}/example.style.css
|
2013-12-06 12:04:52 +01:00
|
|
|
.if defined(__MINIX)
|
2011-09-26 18:19:29 +02:00
|
|
|
FILESDIR= /usr/man
|
2013-12-06 12:04:52 +01:00
|
|
|
.else
|
|
|
|
FILESDIR= /usr/share/man
|
|
|
|
.endif # defined(__MINIX)
|
2011-09-26 18:19:29 +02:00
|
|
|
FILESNAME= style.css
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.man.mk>
|