Hash :
d846af7c
Author :
Date :
2000-01-08T19:14:57
* ansi.test, texinfo.test, empty.test, insh2.test, texinfo8.test: Remove @SET_MAKE@ before using Makefile. * backsl2.test: Don't add AC_PROG_MAKE_SET in configure.in; already done. * defs: Put AC_PROG_MAKE_SET in configure.in. * acoutnoq.test, acoutput.test, acoutqnl.test, acouttbs.test, acouttbs2.test, colon.test, colon2.test, colon3.test, colon4.test, colon5.test, colon6.test, colon7.test, conf2.test, confh.test, confh2.test, confh3.test, confh4.test, config.test, depend3.test, discover.test, fpinst2.test, gnits.test, ldadd.test, libobj.test, libobj10.test, libobj2.test, libobj6.test, libobj7.test, libobj8.test, libobj9.test, output.test, output2.test, output3.test, output4.test, output5.test, package.test, parse.test, pr2.test, remake.test, remake2.test, scripts.test, stamph.test, texinfo8.test: Likewise.
#! /bin/sh
# Test for bug where if the list of installables is empty, invalid sh
# code is generated.
. $srcdir/defs || exit 1
cat > Makefile.am << 'END'
data_DATA =
END
$AUTOMAKE || exit 1
# Create configure so Makefile doesn't look out-of-date.
echo frob > configure
echo frob > config.status
# Need a mkinstalldirs we can actually execute. make on my Linux box
# won't execute this file if is empty, or has just a colon in it (but
# it will run from the shell).
cat > mkinstalldirs << 'END'
#!/bin/sh
END
chmod +x mkinstalldirs
# Substitute variables we need.
sed -e 's,@SHELL@,/bin/sh,g' -e 's/@srcdir@/./g' \
-e 's/@top_srcdir@/./g' -e 's/@datadir@/./g' \
-e 's/@SET_MAKE@//g' < Makefile.in > Makefile
$MAKE install