+Tue Apr 8 19:26:07 1997 Tom Tromey <tromey@cygnus.com>
+
+ * ansi.test, empty.test, exsource.test, insh2.test, man.test,
+ mkinst2.test, texinfo.test, texinfo2.test: Use $MAKE.
+
+ * defs (MAKE): Define.
+
Mon Apr 7 17:35:49 1997 Tom Tromey <tromey@cygnus.com>
* version2.test: New file.
$AUTOMAKE || exit 1
-make -s -f Makefile.in magic | grep 'ansi2knr\.c'
+$MAKE -s -f Makefile.in magic | grep 'ansi2knr\.c'
# User can set PERL to change the perl interpreter used.
test -z "$PERL" && PERL=perl
+# User can set MAKE to choose which make to use. Must use GNU make.
+test -z "$MAKE" && MAKE=make
+
echo "=== Running test $0"
# See how Automake should be run. We put --foreign as the default
sed -e 's/@srcdir@/./g' -e 's/@top_srcdir@/./g' -e 's/@datadir@/./g' \
< Makefile.in > Makefile
-make install
+$MAKE install
. $srcdir/defs || exit 1
# This test relies on GNU make.
-make --version > /dev/null 2>&1 || {
+$MAKE --version > /dev/null 2>&1 || {
# Nope.
exit 0
}
echo > .deps/xtra.P
echo > .deps/www.P
-make -s -f Makefile.in srcdir=`pwd` magic | grep xtra
+$MAKE -s -f Makefile.in srcdir=`pwd` magic | grep xtra
$AUTOMAKE || exit 1
-make -s -f Makefile.in magic | grep install-sh
+$MAKE -s -f Makefile.in magic | grep install-sh
mkdir man1 man3 man5
-make -f Makefile.in mkinstalldirs=: INSTALL_DATA=cp mandir=`pwd` \
+$MAKE -f Makefile.in mkinstalldirs=: INSTALL_DATA=cp mandir=`pwd` \
srcdir=`pwd` transform='' install-man \
|| exit 1
$AUTOMAKE || exit 1
-(make -s -f Makefile.in installdirs | grep man) && exit 1
+($MAKE -s -f Makefile.in installdirs | grep man) && exit 1
exit 0
$AUTOMAKE || exit 1
-make -s -f Makefile.in magic | grep 'texinfo\.tex'
+$MAKE -s -f Makefile.in magic | grep 'texinfo\.tex'
$AUTOMAKE || exit 1
-test -z "`make -s -f Makefile.in magic | grep '~'`"
+test -z "`$MAKE -s -f Makefile.in magic | grep '~'`"