Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/sets Forgot that makesums creates the checksum files...
details: https://anonhg.NetBSD.org/src/rev/b90c8192d443
branches: trunk
changeset: 556616:b90c8192d443
user: jmc <jmc%NetBSD.org@localhost>
date: Mon Dec 22 04:56:53 2003 +0000
description:
Forgot that makesums creates the checksum files anew each time it's run. Save
outputs from each step and concat into place when done.
diffstat:
distrib/sets/Makefile | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diffs (38 lines):
diff -r 0cb52a3b7fc9 -r b90c8192d443 distrib/sets/Makefile
--- a/distrib/sets/Makefile Mon Dec 22 02:05:10 2003 +0000
+++ b/distrib/sets/Makefile Mon Dec 22 04:56:53 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2003/12/20 17:08:32 dsl Exp $
+# $NetBSD: Makefile,v 1.35 2003/12/22 04:56:53 jmc Exp $
# The `all' target must appear before bsd.own.mk is pulled in.
all:
@@ -77,7 +77,9 @@
${MAKE} checkflist
.endif
mkdir -p ${RELEASEDIR}/${MACHINE}/binary/sets
-
+ for i in BSDSUM CKSUM MD5 SYSVSUM; do \
+ rm -f ${RELEASEDIR}/${MACHINE}/binary/sets/$$i.tmp; done
+
.for tar in ${MAKETARSETS}
${RELEASEDIR}/${MACHINE}/binary/sets/${tar}.tgz:
${SETSENV} ${HOST_SH} ${.CURDIR}/maketars -d ${DESTDIR:S,^$,/,} \
@@ -93,11 +95,16 @@
.PRECIOUS: makesums
makesums: check_RELEASEDIR .WAIT ${MAKETARSETS:@.TARS.@do-sum-${.TARS.}@}
- @true
+ for i in BSDSUM CKSUM MD5 SYSVSUM; do \
+ mv ${RELEASEDIR}/${MACHINE}/binary/sets/$$i.tmp \
+ ${RELEASEDIR}/${MACHINE}/binary/sets/$$i; done
.for tar in ${MAKETARSETS}
do-sum-${tar}: .PHONY ${RELEASEDIR}/${MACHINE}/binary/sets/${tar}.tgz
${SETSENV} ${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/binary/sets ${tar}.tgz
+ for i in BSDSUM CKSUM MD5 SYSVSUM; do \
+ ${TOOL_CAT} ${RELEASEDIR}/${MACHINE}/binary/sets/$$i >> ${RELEASEDIR}/${MACHINE}/binary/sets/$$i.tmp; \
+ done
.endfor
.PRECIOUS: installsets
Home |
Main Index |
Thread Index |
Old Index