From 681ca7d1c9e595ff0f945bc5e2ac2e1eb6b79764 Mon Sep 17 00:00:00 2001 From: lukem Date: Tue, 7 May 2002 14:27:25 +0000 Subject: [PATCH] keep ${IMAGE} around even after building (optional) ${IMAGE}.gz --- distrib/common/Makefile.image | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/distrib/common/Makefile.image b/distrib/common/Makefile.image index f76fd1249bc2..4bc9c69aacbb 100644 --- a/distrib/common/Makefile.image +++ b/distrib/common/Makefile.image @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.image,v 1.15 2002/05/07 03:34:17 lukem Exp $ +# $NetBSD: Makefile.image,v 1.16 2002/05/07 14:27:25 lukem Exp $ # # Makefile snippet to build a tree from the provided lists, # and make an ffs file system image from that tree @@ -70,7 +70,8 @@ ${IMAGE}: ${WORKBUILT} ${WORKSPEC} ${IMAGEDEPENDS} .endif ${IMAGE}.gz: ${IMAGE} - gzip -9f ${IMAGE} + -rm -f ${.TARGET} + gzip -9c ${.ALLSRC} > ${.TARGET} realall: ${IMAGE}