Add lintmanpages later to target to ensure that MKMANDOC is set.

This commit is contained in:
joerg 2009-10-24 13:34:50 +00:00
parent c162de1c7b
commit ee9832f794
1 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.own.mk,v 1.591 2009/10/23 23:12:10 joerg Exp $ # $NetBSD: bsd.own.mk,v 1.592 2009/10/24 13:34:50 joerg Exp $
.if !defined(_BSD_OWN_MK_) .if !defined(_BSD_OWN_MK_)
_BSD_OWN_MK_=1 _BSD_OWN_MK_=1
@ -595,9 +595,6 @@ RUMPKMOD= # defined
TARGETS+= all clean cleandir depend dependall includes \ TARGETS+= all clean cleandir depend dependall includes \
install lint obj regress tags html install lint obj regress tags html
.if ${MKMANDOC} == "yes"
TARGETS+= lintmanpages
.endif
PHONY_NOTMAIN = all clean cleandir depend dependall distclean includes \ PHONY_NOTMAIN = all clean cleandir depend dependall distclean includes \
install lint obj regress tags beforedepend afterdepend \ install lint obj regress tags beforedepend afterdepend \
beforeinstall afterinstall realinstall realdepend realall \ beforeinstall afterinstall realinstall realdepend realall \
@ -1028,4 +1025,8 @@ _MKTARGET_LEX?= ${_MKMSG_LEX} ${.CURDIR:T}/${.TARGET}
_MKTARGET_REMOVE?= ${_MKMSG_REMOVE} ${.TARGET} _MKTARGET_REMOVE?= ${_MKMSG_REMOVE} ${.TARGET}
_MKTARGET_YACC?= ${_MKMSG_YACC} ${.CURDIR:T}/${.TARGET} _MKTARGET_YACC?= ${_MKMSG_YACC} ${.CURDIR:T}/${.TARGET}
.if ${MKMANDOC} == "yes"
TARGETS+= lintmanpages
.endif
.endif # !defined(_BSD_OWN_MK_) .endif # !defined(_BSD_OWN_MK_)