Fix for PR automake/14:
[automake.git] / tests / mdate2.test
blobef19458327600d2349c7a55c2a6f05d420a7a51f
1 #! /bin/sh
3 # Test to make sure mdate-sh is included in distribution.
5 . $srcdir/defs || exit 1
7 cat > Makefile.am << 'END'
8 info_TEXINFOS = textutils.texi
9 END
11 cat > textutils.texi << 'END'
12 @include version.texi
13 END
15 # Required when using Texinfo.
16 : > texinfo.tex
17 : > mdate-sh
18 echo '@setfilename textutils' > textutils.texi
20 # Use "././" to confuse Automake into thinking this is a subdir build.
21 $AUTOMAKE ././Makefile || exit 1
23 grep 'mdate-sh' Makefile.in | grep -v SHELL