Fix for PR automake/14:
[automake.git] / tests / vtexi.test
blob09524eb58dc4a76ee75117237d864534a6e0c7e3
1 #!/bin/sh
3 # Test for bug reported by Jim Meyering:
4 # When I ran automake-0.29 on textutils,
5 # I noticed that doc/Makefile.in had
6 # textutils.info: textutils.texi
7 # instead of
8 # textutils.info: textutils.texi version.texi
10 . $srcdir/defs || exit 1
12 cat > Makefile.am << 'END'
13 info_TEXINFOS = textutils.texi
14 END
16 cat > textutils.texi << 'END'
17 @include version.texi
18 @setfilename textutils.info
19 END
21 # Required when using Texinfo.
22 : > mdate-sh
23 : > texinfo.tex
25 $AUTOMAKE || exit 1
27 grep '^textutils\.info: textutils\.texi version\.texi$' Makefile.in