From Nicolas Joly:
[automake.git] / tests / mdate4.test
blobd29aaab44f80b829ccc8eb8f7bfc799b6a6f2185
1 #! /bin/sh
3 # Test to make sure that mdate-sh is added to the right directory.
4 # Report from Kevin Dalley
6 . $srcdir/defs || exit 1
8 cat > configure.in << 'END'
9 AC_INIT
10 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
11 AC_ARG_PROGRAM
12 AC_PROG_INSTALL
13 AC_PROG_MAKE_SET
14 AC_OUTPUT(Makefile sub/Makefile)
15 END
17 cat > Makefile.am << 'END'
18 SUBDIRS = sub
19 END
21 mkdir sub
23 cat > sub/Makefile.am << 'END'
24 info_TEXINFOS = textutils.texi
25 END
27 cat > sub/textutils.texi << 'END'
28 @include version.texi
29 @setfilename textutils.info
30 END
32 $AUTOMAKE -a || exit 1
33 test -f sub/mdate-sh