Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib Replace RELEASE and VERSION strings proplery.
details: https://anonhg.NetBSD.org/src/rev/94a98744288d
branches: trunk
changeset: 1021802:94a98744288d
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Fri Jun 18 23:55:20 2021 +0000
description:
Replace RELEASE and VERSION strings proplery.
sun2 and sun3 don't use MI src/distrib/miniroot/list so this should
have been sync'ed with it.
http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.36
>> Use proper release version strings ("9.1" rather than "91") in banners.
>>
>> Also define and use "MACHINE" variable to describe port names
>> (no uname(1) or sysctl(8) in miniroot binary list by default).
Should be pulled up to netbsd-9.
diffstat:
distrib/sun2/miniroot/Makefile | 6 ++++--
distrib/sun3/miniroot/Makefile | 6 ++++--
2 files changed, 8 insertions(+), 4 deletions(-)
diffs (40 lines):
diff -r dde2585a477c -r 94a98744288d distrib/sun2/miniroot/Makefile
--- a/distrib/sun2/miniroot/Makefile Fri Jun 18 23:00:47 2021 +0000
+++ b/distrib/sun2/miniroot/Makefile Fri Jun 18 23:55:20 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2021/03/01 09:24:27 martin Exp $
+# $NetBSD: Makefile,v 1.40 2021/06/18 23:55:20 tsutsui Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -57,7 +57,9 @@
${CRUNCHBIN}: libhack.o
install.sub: ${DISTRIBDIR}/miniroot/install.sub
- ${TOOL_SED} -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" < $? > $@
+ ${TOOL_SED} -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" \
+ -e "/^RELEASE=/s/=.*/=${DISTRIBVER}/" \
+ -e "/^MACHINE=/s/=.*/=${MACHINE}/" < $? > $@
CLEANFILES+= install.sub
diff -r dde2585a477c -r 94a98744288d distrib/sun3/miniroot/Makefile
--- a/distrib/sun3/miniroot/Makefile Fri Jun 18 23:00:47 2021 +0000
+++ b/distrib/sun3/miniroot/Makefile Fri Jun 18 23:55:20 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2019/12/29 18:26:19 christos Exp $
+# $NetBSD: Makefile,v 1.50 2021/06/18 23:55:20 tsutsui Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -52,7 +52,9 @@
${CRUNCHBIN}: libhack.o
install.sub: ${DISTRIBDIR}/miniroot/install.sub
- ${TOOL_SED} -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" < $? > $@
+ ${TOOL_SED} -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" \
+ -e "/^RELEASE=/s/=.*/=${DISTRIBVER}/" \
+ -e "/^MACHINE=/s/=.*/=${MACHINE}/" < $? > $@
CLEANFILES+= install.sub
Home |
Main Index |
Thread Index |
Old Index