From 0c5359919cae0e1d56209970cbea680827308950 Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Tue, 1 Apr 2014 22:54:54 +0000 Subject: [PATCH] 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 --- release/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/release/Makefile b/release/Makefile index 390b80824323..d7fc432f794a 100644 --- a/release/Makefile +++ b/release/Makefile @@ -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 .