Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk CATDEPS is bogus for mandoc, so disable it in that ...



details:   https://anonhg.NetBSD.org/src/rev/c62bfa37a30b
branches:  trunk
changeset: 782994:c62bfa37a30b
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Nov 30 17:52:13 2012 +0000

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

diffstat:

 share/mk/bsd.man.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 20c9025c65bb -r c62bfa37a30b share/mk/bsd.man.mk
--- a/share/mk/bsd.man.mk       Fri Nov 30 17:51:50 2012 +0000
+++ b/share/mk/bsd.man.mk       Fri Nov 30 17:52:13 2012 +0000
@@ -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 @@
 .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?=



Home | Main Index | Thread Index | Old Index