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:
parent
ccb83afd81
commit
13b0219ad7
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user