1 # $NetBSD: Makefile,v 1.7 2011/10/11 19:20:14 joerg Exp $
3 MAN
= mandoc_man
.7 mandoc_char
.7 mandoc_eqn
.7 mandoc_mdoc
.7 \
4 mandoc_roff
.7 mandoc_tbl
.7
8 mandoc_eqn
.7: ${DISTDIR}/eqn
.7
11 ${TOOL_CAT} ${DISTDIR}/eqn
.7 > ${.TARGET
}
13 mandoc_man
.7: ${DISTDIR}/man
.7
16 ${TOOL_CAT} ${DISTDIR}/man
.7 > ${.TARGET
}
18 mandoc_mdoc
.7: ${DISTDIR}/mdoc
.7
21 ${TOOL_CAT} ${DISTDIR}/mdoc
.7 > ${.TARGET
}
23 mandoc_roff
.7: ${DISTDIR}/roff
.7
26 ${TOOL_CAT} ${DISTDIR}/roff
.7 > ${.TARGET
}
28 mandoc_tbl
.7: ${DISTDIR}/tbl
.7
31 ${TOOL_CAT} ${DISTDIR}/tbl
.7 > ${.TARGET
}
33 CLEANFILES
+= mandoc_eqn
.7 mandoc_man
.7 mandoc_mdoc
.7 \
34 mandoc_roff
.7 mandoc_tbl
.7
36 .if
(${MKHTML} != "no") && (${MKMAN} != "no")
37 FILES
= ${DISTDIR}/example.style.css
41 FILESDIR
= /usr
/share
/man
42 .
endif # defined(__MINIX)