Use "$MAKE" instead of "make" for cross environment.

This commit is contained in:
itohy 1999-02-13 07:59:45 +00:00
parent 8f967beb1b
commit d2ebbdebdc
2 changed files with 8 additions and 6 deletions

View File

@ -1,14 +1,15 @@
#!/bin/sh #!/bin/sh
# #
# $NetBSD: makeflist,v 1.13 1999/02/09 19:34:18 tv Exp $ # $NetBSD: makeflist,v 1.14 1999/02/13 07:59:45 itohy Exp $
# #
# Print out the files in some or all lists. # Print out the files in some or all lists.
# Usage: makeflist [-b] [-x] [-a arch] [-m machine] [-s setsdir] [setname ...] # Usage: makeflist [-b] [-x] [-a arch] [-m machine] [-s setsdir] [setname ...]
# #
# set defaults # set defaults
machine=${MACHINE:-`printf 'xxx:\n\techo ${MACHINE}' | make -s -f-`} : ${MAKE=make}
arch=${MACHINE_ARCH:-`printf 'xxx:\n\techo ${MACHINE_ARCH}' | make -s -f-`} machine=${MACHINE:-`printf 'xxx:\n\techo ${MACHINE}' | $MAKE -s -f-`}
arch=${MACHINE_ARCH:-`printf 'xxx:\n\techo ${MACHINE_ARCH}' | $MAKE -s -f-`}
arch=`echo $arch | sed s,^mipse.,mips,` arch=`echo $arch | sed s,^mipse.,mips,`
setd=`pwd` setd=`pwd`
nlists="base comp etc games man misc text" nlists="base comp etc games man misc text"

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# #
# $NetBSD: maketars,v 1.12 1998/12/03 18:17:45 frueauf Exp $ # $NetBSD: maketars,v 1.13 1999/02/13 07:59:45 itohy Exp $
# #
# Make release tar files for some or all lists. Usage: # Make release tar files for some or all lists. Usage:
# maketars [-b] [-x] [-a arch] [-m machine] [-s setsdir] [-d destdir] \ # maketars [-b] [-x] [-a arch] [-m machine] [-s setsdir] [-d destdir] \
@ -8,8 +8,9 @@
# #
# set defaults # set defaults
machine=${MACHINE:-`printf 'xxx:\n\techo ${MACHINE}' | make -s -f-`} : ${MAKE=make}
arch=${MACHINE_ARCH:-`printf 'xxx:\n\techo ${MACHINE_ARCH}' | make -s -f-`} machine=${MACHINE:-`printf 'xxx:\n\techo ${MACHINE}' | $MAKE -s -f-`}
arch=${MACHINE_ARCH:-`printf 'xxx:\n\techo ${MACHINE_ARCH}' | $MAKE -s -f-`}
setd=`pwd` setd=`pwd`
nlists="base comp etc games man misc text" nlists="base comp etc games man misc text"
xlists="xbase xcomp xcontrib xfont xserver" xlists="xbase xcomp xcontrib xfont xserver"