0c3983b25a
. add bsd-style MLINKS to minix man set, restoring aliases (e.g. man add64 -> int64) . update daily cron script to run makewhatis and restore makewhatis in man Makefile (makedb), restores functionality of man -k . netbsd imports of man, mdocml, makewhatis, libutil, apropos . update man.conf with manpage locations, restoring man [-s] <section> . throws out some obsolete manpages
35 lines
840 B
Makefile
35 lines
840 B
Makefile
# $NetBSD: Makefile,v 1.6 2011/01/12 23:02:22 joerg Exp $
|
|
|
|
MAN= mandoc_man.7 mandoc_char.7 mandoc_mdoc.7 mandoc_roff.7 mandoc_tbl.7
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
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}
|
|
|
|
CLEANFILES+= mandoc_man.7 mandoc_mdoc.7 mandoc_roff.7 mandoc_tbl.7
|
|
|
|
.if (${MKHTML} != "no") && (${MKMAN} != "no")
|
|
FILES= ${DISTDIR}/example.style.css
|
|
FILESDIR= /usr/man
|
|
FILESNAME= style.css
|
|
.endif
|
|
|
|
.include <bsd.man.mk>
|