Build info files in builddir instead of srcdir (for PR automake/168),
[platform/upstream/automake.git] / tests / texinfo10.test
1 #! /bin/sh
2
3 # Make sure dvi target recurses into subdir.
4 # Reported by Pavel Roskin
5
6 . $srcdir/defs || exit 1
7
8 set -e
9
10 cat > Makefile.am << 'END'
11 SUBDIRS = sub
12 END
13
14 mkdir sub
15 cat > sub/Makefile.am << 'END'
16 info_TEXINFOS = maude.texi
17 END
18
19 echo '@setfilename maude.info' > sub/maude.texi
20 : > sub/texinfo.tex
21
22 $ACLOCAL
23 $AUTOMAKE
24
25 grep dvi-recursive Makefile.in
26 grep '[^-]info-recursive' Makefile.in
27 grep '[^n]install-info-recursive' Makefile.in
28 grep uninstall-info-recursive Makefile.in