2 # Copyright (C) 2003-2012 Free Software Foundation, Inc.
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2, or (at your option)
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17 # DVIS, PDFS, PSS, HTMLS should not be cleaned upon 'mostlyclean'.
18 # Similar to txinfo25.test.
20 required='makeinfo tex texi2dvi dvips'
25 cat >> configure.ac << 'END'
29 cat > Makefile.am << 'END'
30 info_TEXINFOS = main.texi other.texi sub/another.texi
33 cat > main.texi << 'END'
35 @setfilename main.info
43 cat > other.texi << 'END'
45 @setfilename other.info
49 @include version2.texi
53 cat > sub/another.texi << 'END'
55 @setfilename another.info
59 @include version3.texi
64 $AUTOMAKE --add-missing
73 test -f main.html || test -d main.html
76 test -f sub/another.pdf
79 test -f other.html || test -d other.html
81 test -f sub/another.dvi
82 test -f sub/another.html || test -d sub/another.html
83 test -f sub/another.ps
88 ls sub/*.aux && exit 1
92 test -f main.html || test -d main.html
95 test -f sub/another.pdf
98 test -f other.html || test -d other.html
100 test -f sub/another.dvi
101 test -f sub/another.html || test -d sub/another.html
102 test -f sub/another.ps
111 test ! -e sub/another.pdf
112 test ! -e sub/yetanother.pdf
117 test ! -e sub/another.dvi
118 test ! -e sub/another.html
119 test ! -e sub/another.ps