Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/sysinst Print ${MACHINE} in the welcome message.
details: https://anonhg.NetBSD.org/src/rev/982e7c5e09b4
branches: trunk
changeset: 746936:982e7c5e09b4
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Aug 23 20:58:05 2009 +0000
description:
Print ${MACHINE} in the welcome message.
diffstat:
distrib/utils/sysinst/Makefile.inc | 6 +++++-
distrib/utils/sysinst/msg.mi.en | 5 +++--
2 files changed, 8 insertions(+), 3 deletions(-)
diffs (57 lines):
diff -r 8af0fb550ec0 -r 982e7c5e09b4 distrib/utils/sysinst/Makefile.inc
--- a/distrib/utils/sysinst/Makefile.inc Sun Aug 23 20:57:40 2009 +0000
+++ b/distrib/utils/sysinst/Makefile.inc Sun Aug 23 20:58:05 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.47 2008/10/25 22:27:34 apb Exp $
+# $NetBSD: Makefile.inc,v 1.48 2009/08/23 20:58:05 jmcneill Exp $
#
# Makefile for sysinst
@@ -108,17 +108,20 @@
msg.def: msg.mi.${SYSINSTLANG} ${MSG_MD} msgtouch
${_MKTARGET_CREATE}
${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" ${.ALLSRC} | \
+ ${TOOL_SED} "s/@@MACHINE@@/${MACHINE}/" | \
${TOOL_AWK} -f ${UNIF_AWK} -v defines="${MD_OPTIONS}" > ${.TARGET}
menus.def: menus.mi ${MENUS_MD} msgtouch
${_MKTARGET_CREATE}
${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" ${.ALLSRC} | \
+ ${TOOL_SED} "s/@@MACHINE@@/${MACHINE}/" | \
${TOOL_AWK} -f ${UNIF_AWK} -v defines="${MD_OPTIONS}" > ${.TARGET}
sysinstmsgs.fmtcnt: msg.mi.${SYSINSTLANG} ${MSG_MD} msgtouch msg_defs.h
${_MKTARGET_CREATE}
${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" \
${.ALLSRC:M*.${SYSINSTLANG}} | \
+ ${TOOL_SED} "s/@@MACHINE@@/${MACHINE}/" | \
${TOOL_AWK} -f ${UNIF_AWK} -v defines="${MD_OPTIONS}" | \
${HOST_SH} ${MSG_XLAT_SH} -c > ${.TARGET}
@@ -126,6 +129,7 @@
sysinstmsgs.${LANG}: msg.mi.${LANG} ${MSG_MD:S/.${SYSINSTLANG}$/.${LANG}/} msgtouch msg_defs.h sysinstmsgs.fmtcnt
${_MKTARGET_CREATE}
${TOOL_SED} "s/@@VERSION@@/${DISTRIBVER}/" ${.ALLSRC:M*.${LANG}} | \
+ ${TOOL_SED} "s/@@MACHINE@@/${MACHINE}/" | \
${TOOL_AWK} -f ${UNIF_AWK} -v defines="${MD_OPTIONS}" | \
${HOST_SH} ${MSG_XLAT_SH} -f sysinstmsgs.fmtcnt > ${.TARGET}
diff -r 8af0fb550ec0 -r 982e7c5e09b4 distrib/utils/sysinst/msg.mi.en
--- a/distrib/utils/sysinst/msg.mi.en Sun Aug 23 20:57:40 2009 +0000
+++ b/distrib/utils/sysinst/msg.mi.en Sun Aug 23 20:58:05 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msg.mi.en,v 1.156 2009/08/11 19:15:30 snj Exp $ */
+/* $NetBSD: msg.mi.en,v 1.157 2009/08/23 20:58:05 jmcneill Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -71,7 +71,8 @@
{upgrade}
message hello
-{Welcome to sysinst, the NetBSD-@@VERSION@@ system installation tool.
+{NetBSD/@@MACHINE@@ @@VERSION@@
+
This menu-driven tool is designed to help you install NetBSD to a hard
disk, or upgrade an existing NetBSD system, with a minimum of work.
In the following menus type the reference letter (a, b, c, ...) to
Home |
Main Index |
Thread Index |
Old Index