Source-Changes-HG archive

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

[src/trunk]: src/distrib/sets use ${MAKE} print_machine(_arch)? where appro...



details:   https://anonhg.NetBSD.org/src/rev/2d557b4bbea5
branches:  trunk
changeset: 539431:2d557b4bbea5
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Nov 17 02:22:11 2002 +0000

description:
use  ${MAKE} print_machine(_arch)?  where appropriate

diffstat:

 distrib/sets/makeobsolete |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r df7e38fe1182 -r 2d557b4bbea5 distrib/sets/makeobsolete
--- a/distrib/sets/makeobsolete Sun Nov 17 01:51:24 2002 +0000
+++ b/distrib/sets/makeobsolete Sun Nov 17 02:22:11 2002 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: makeobsolete,v 1.11 2002/07/23 09:02:45 lukem Exp $
+# $NetBSD: makeobsolete,v 1.12 2002/11/17 02:22:11 lukem Exp $
 #
 # Print out the obsolete files for a set
 # Usage: makeobsolete [-b] [-x] [-a arch] [-m machine] [-s setsdir] \
@@ -9,8 +9,8 @@
 
 # set defaults
 MAKE="${MAKE:-make} -j 1"
-machine=${MACHINE:-`printf 'xxx:\n\techo ${MACHINE}' | ${MAKE} -s -f-`}
-arch=${MACHINE_ARCH:-`printf 'xxx:\n\techo ${MACHINE_ARCH}' | ${MAKE} -s -f-`}
+machine=`${MAKE} print_machine`
+arch=`${MAKE} print_machine_arch`
 setd=`pwd`
 nlists="base comp etc games man misc text"
 xlists="xbase xcomp xcontrib xfont xserver xmisc"



Home | Main Index | Thread Index | Old Index