typo + new comment
[automake.git] / tests / acoutput2.test
blob28d542b7021e1bacc20dfbcf4621d40fd06b6c4c
1 #! /bin/sh
3 # Test for bug reported by Eric Magnien.
5 . $srcdir/defs || exit 1
7 cat > configure.in << 'END'
8 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
9 AC_OUTPUT([subdir/Makefile subdir/foo Makefile foo], [true])
10 END
12 mkdir subdir
14 : > Makefile.am
15 : > subdir/Makefile.am
16 : > foo.in
17 : > subdir/foo.in
19 $AUTOMAKE || exit 1
21 count=`fgrep foo.in Makefile.in | wc -l`
22 test $count -eq 2 || exit 1
24 # This ought to work as well.
25 $AUTOMAKE --add-missing --force-missing