mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=303003
|
@ -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 a new issue