aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2014-04-01 22:54:54 +0000
committerGlen Barber <gjb@FreeBSD.org>2014-04-01 22:54:54 +0000
commit0c5359919cae0e1d56209970cbea680827308950 (patch)
tree3e82f8890def1221a1fe786a46d11b1f2de3129d /release/Makefile
parent510f330370b73bb5b85e96d18cd197586b2687d2 (diff)
downloadsrc-0c5359919cae0e1d56209970cbea680827308950.tar.gz
src-0c5359919cae0e1d56209970cbea680827308950.zip
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
Notes
Notes: svn path=/head/; revision=264030
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile5
1 files changed, 5 insertions, 0 deletions
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 .