* configure.in: Updated to 1.4d and released.
[automake.git] / tests / vtexi.test
blobafe5f8dd8de220d31bfe3a9edd69fec80e135c05
1 #!/bin/sh
3 . $srcdir/defs || exit 1
5 cat > Makefile.am << 'END'
6 info_TEXINFOS = textutils.texi
7 END
9 cat > textutils.texi << 'END'
10 @include version.texi
11 @setfilename textutils.info
12 END
14 # Required when using Texinfo.
15 : > mdate-sh
16 : > texinfo.tex
18 set -e
20 $AUTOMAKE
22 # Test for bug reported by Jim Meyering:
23 # When I ran automake-0.29 on textutils,
24 # I noticed that doc/Makefile.in had
25 # textutils.info: textutils.texi
26 # instead of
27 # textutils.info: textutils.texi version.texi
29 grep '^textutils\.info: textutils\.texi .*version\.texi$' Makefile.in
32 # Test for bug reported by Lars Hecking:
33 # When running the first version of configure.ac aware automake,
34 # @CONFIGURE_AC@ was not properly substitued.
36 egrep '^\$\(srcdir\)/stamp-vti:.*textutils\.texi( .*)?$' Makefile.in
37 egrep '^\$\(srcdir\)/stamp-vti:.*\$\(top_srcdir\)/configure\.in( .*)?$' Makefile.in
40 # Check that the path to mdate-sh is correct. Over escaping of `$'
41 # etc. once led to `\$\(srcdir\)/mdate-sh'.
43 # Filter out '$(srcdir)/mdate-sh'; output occurrences of `SOMETHING/mdate-sh'
44 sed -n 's,\$(srcdir)/mdate-sh,,g;s,.* \([^ ]*/mdate-sh\) .*,\1,gp' Makefile.in|
45 # There must remain nothing.
46 grep . && exit 1
48 exit 0