3 # Test for bug where if the list of installables is empty, invalid sh
6 . $srcdir/defs || exit 1
8 cat > Makefile.am << 'END'
14 # Create configure so Makefile doesn't look out-of-date.
15 echo frob > configure.ac
17 echo frob > config.status
19 # Need a mkinstalldirs we can actually execute. make on my Linux box
20 # won't execute this file if is empty, or has just a colon in it (but
21 # it will run from the shell).
22 cat > mkinstalldirs << 'END'
25 chmod +x mkinstalldirs
27 # Substitute variables we need.
28 sed -e 's,@SHELL@,/bin/sh,g' -e 's/@srcdir@/./g' \
29 -e 's/@top_srcdir@/./g' -e 's/@datadir@/./g' \
30 -e 's/@CONFIGURE_AC@/configure.ac/g' \
31 < Makefile.in > Makefile