CATDEPS is bogus for mandoc, so disable it in that case.

This commit is contained in:
joerg 2012-11-30 17:52:13 +00:00
parent 6528688d69
commit 5adc71af23
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.man.mk,v 1.109 2011/09/10 16:57:35 apb Exp $
# $NetBSD: bsd.man.mk,v 1.110 2012/11/30 17:52:13 joerg Exp $
# @(#)bsd.man.mk 8.1 (Berkeley) 6/8/93
.include <bsd.init.mk>
@ -17,12 +17,16 @@ TMACDEPDIR?= /usr/share/tmac
.endif
HTMLDIR?= ${DESTDIR}${MANDIR}
.if ${MKMANDOC} == yes && !defined(NOMANDOC)
CATDEPS?=
.else
CATDEPS?= ${TMACDEPDIR}/andoc.tmac \
${TMACDEPDIR}/doc.tmac \
${TMACDEPDIR}/mdoc/doc-common \
${TMACDEPDIR}/mdoc/doc-ditroff \
${TMACDEPDIR}/mdoc/doc-nroff \
${TMACDEPDIR}/mdoc/doc-syms
.endif
MANTARGET?= cat
MAN?=