Make sure we clean up the rdoc and reldoc directories if NODOC

is not set.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2016-07-18 15:50:54 +00:00
parent ccb83afd81
commit 13b0219ad7

View File

@ -119,6 +119,9 @@ CLEANFILES+= ${I}.xz
CLEANFILES+= pkg-stage
.endif
CLEANDIRS= dist ftp disc1 bootonly dvd
.if !defined(NODOC)
CLEANDIRS+= reldoc rdoc
.endif
beforeclean:
chflags -R noschg .
.include <bsd.obj.mk>