diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 84a173fc7065..0cc569d11243 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -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_) _BSD_OWN_MK_=1 @@ -595,9 +595,6 @@ RUMPKMOD= # defined TARGETS+= all clean cleandir depend dependall includes \ install lint obj regress tags html -.if ${MKMANDOC} == "yes" -TARGETS+= lintmanpages -.endif PHONY_NOTMAIN = all clean cleandir depend dependall distclean includes \ install lint obj regress tags beforedepend afterdepend \ beforeinstall afterinstall realinstall realdepend realall \ @@ -1028,4 +1025,8 @@ _MKTARGET_LEX?= ${_MKMSG_LEX} ${.CURDIR:T}/${.TARGET} _MKTARGET_REMOVE?= ${_MKMSG_REMOVE} ${.TARGET} _MKTARGET_YACC?= ${_MKMSG_YACC} ${.CURDIR:T}/${.TARGET} +.if ${MKMANDOC} == "yes" +TARGETS+= lintmanpages +.endif + .endif # !defined(_BSD_OWN_MK_)