* lib/am/distdir.am (distdir): Handle subdirectories.
[platform/upstream/automake.git] / tests / mdate2.test
1 #! /bin/sh
2
3 # Test to make sure mdate-sh is included in distribution.
4
5 . $srcdir/defs || exit 1
6
7 cat > Makefile.am << 'END'
8 info_TEXINFOS = textutils.texi
9 END
10
11 cat > textutils.texi << 'END'
12 @include version.texi
13 END
14
15 # Required when using Texinfo.
16 : > texinfo.tex
17 : > mdate-sh
18 echo '@setfilename textutils' > textutils.texi
19
20 # Use "././" to confuse Automake into thinking this is a subdir build.
21 $ACLOCAL || exit 1
22 $AUTOMAKE ././Makefile || exit 1
23
24 grep 'mdate-sh' Makefile.in | grep -v SHELL