3 # Make sure ":" works with files automake generates.
4 # This test is for multiple ":"s.
6 .
$srcdir/defs ||
exit 1
8 cat > configure.
in << 'END'
9 AM_INIT_AUTOMAKE
(nonesuch
, nonesuch
)
15 AC_OUTPUT
(Makefile
:zardoz.
in:two.
in:three.
in)
24 # We actually check several things here.
25 # Automake should have created zardoz.in.
26 test -f zardoz.
in ||
exit 1
28 # The generated file should refer to zardoz.in and zardoz.am, but
29 # never just "zardoz" -- except the actual automake invocation can
30 # refer to it (don't ask).
32 grep zardoz zardoz.
in | fgrep
-v 'zardoz.in' | fgrep
-v 'zardoz.am' \
33 | fgrep
-v AUTOMAKE
> O
34 # We cat the output file so we see in when verbose.
36 test -z "`cat O`" ||
exit 1
38 # Makefile should depend on two.in.
40 grep '^Makefile:.* two.in' zardoz.
in ||
exit 1
43 grep '^Makefile:.* three.in' zardoz.
in