Honor contents of "CLEANFILES" in "cleandir" target.

This commit is contained in:
tron 2005-04-19 08:41:37 +00:00
parent 07417a9241
commit fce29e26d8
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.man.mk,v 1.93 2004/06/23 15:28:19 jmc Exp $
# $NetBSD: bsd.man.mk,v 1.94 2005/04/19 08:41:37 tron Exp $
# @(#)bsd.man.mk 8.1 (Berkeley) 6/8/93
.include <bsd.init.mk>
@ -209,6 +209,10 @@ cleanhtml: .PHONY
.undef _F
cleandir: cleanman
.if !empty(CLEANFILES)
rm -f ${CLEANFILES}
.endif
cleanman: .PHONY
.if !empty(MAN) && (${MKMAN} != "no")
.if (${MKCATPAGES} != "no")