fix for README-alpha
[automake.git] / tests / info.test
blobf5c3cfa5b8b692ea0f417fbccf22a457a75c13bb
1 #! /bin/sh
3 # Test to make sure info files are distributed correctly.
5 . $srcdir/defs || exit 1
7 cat > Makefile.am << 'END'
8 info_TEXINFOS = foo.texi
10 magic:
11 @echo $(INFOS)
12 END
14 echo '@setfilename foo.info' > foo.texi
15 : > texinfo.tex
17 $AUTOMAKE || exit 1
19 for i in `grep '^INFOS =' Makefile.in | sed -e 's/^INFOS = //'`; do
20 echo $i
21 case "$i" in
22 foo*)
25 exit 1
27 esac
28 done