2 # Copyright (C) 2003, 2009 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-o dvips'
27 cat >> configure.
in << 'END'
31 cat > Makefile.am
<< 'END'
32 info_TEXINFOS
= main.texi other.texi sub
/another.texi
35 cat > main.texi
<< 'END'
37 @setfilename main.info
45 cat > other.texi
<< 'END'
47 @setfilename other.info
51 @include version2.texi
55 cat > sub
/another.texi
<< 'END'
57 @setfilename another.info
61 @include version3.texi
66 $AUTOMAKE --add-missing
75 test -f main.html ||
test -d main.html
78 test -f sub
/another.pdf
81 test -f other.html ||
test -d other.html
83 test -f sub
/another.dvi
84 test -f sub
/another.html ||
test -d sub
/another.html
85 test -f sub
/another.ps
90 ls sub
/*.aux
&& Exit
1
94 test -f main.html ||
test -d main.html
97 test -f sub
/another.pdf
100 test -f other.html ||
test -d other.html
102 test -f sub
/another.dvi
103 test -f sub
/another.html ||
test -d sub
/another.html
104 test -f sub
/another.ps
110 test ! -f main.html
&& test ! -d main.html
113 test ! -f sub
/another.pdf
114 test ! -f sub
/yetanother.pdf
117 test ! -f other.html
&& test ! -d other.html
119 test ! -f sub
/another.dvi
120 test ! -f sub
/another.html
&& test ! -d sub
/another.html
121 test ! -f sub
/another.ps