Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/common keep ${IMAGE} around even after building (opt...



details:   https://anonhg.NetBSD.org/src/rev/25303699ca06
branches:  trunk
changeset: 526663:25303699ca06
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue May 07 14:27:25 2002 +0000

description:
keep ${IMAGE} around even after building (optional) ${IMAGE}.gz

diffstat:

 distrib/common/Makefile.image |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 88f6b31253d9 -r 25303699ca06 distrib/common/Makefile.image
--- a/distrib/common/Makefile.image     Tue May 07 14:13:02 2002 +0000
+++ b/distrib/common/Makefile.image     Tue May 07 14:27:25 2002 +0000
@@ -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 @@
 .endif
 
 ${IMAGE}.gz: ${IMAGE}
-       gzip -9f ${IMAGE}
+       -rm -f ${.TARGET}
+       gzip -9c ${.ALLSRC} > ${.TARGET}
 
 realall: ${IMAGE}
 



Home | Main Index | Thread Index | Old Index