If WITH_COMPRESSED_IMAGES is set, add the compressed images to

the CLEANFILES list.

MFC after:	1 week
X-MFC-With:	r264027,r264028,r264029
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2014-04-01 22:54:54 +00:00
parent 510f330370
commit 0c5359919c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264030

View File

@ -94,6 +94,11 @@ IMAGES+= mini-memstick.img
.endif
CLEANFILES= packagesystem *.txz MANIFEST system ${IMAGES}
.if defined(WITH_COMPRESSED_IMAGES) && !empty(WITH_COMPRESSED_IMAGES)
. for I in ${IMAGES}
CLEANFILES+= ${I}.gz
. endfor
.endif
CLEANDIRS= dist ftp release bootonly dvd
beforeclean:
chflags -R noschg .