tests: make 'lzip.test' executable
[automake.git] / tests / vtexi2.test
blob00e4c1e7926823fb40cf3ec27b56cf67e622e467
1 #! /bin/sh
2 # Copyright (C) 1996, 1997, 2001, 2002, 2011 Free Software Foundation,
3 # Inc.
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2, or (at your option)
8 # any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 # Test for bug reported by Glenn Amerine:
19 # When automake sees version.texi is being included by a texi file,
20 # version.texi gets listed as a dependency for the .info file but
21 # not the .dvi file.
23 . ./defs || Exit 1
25 set -e
27 cat > Makefile.am << 'END'
28 info_TEXINFOS = zardoz.texi
29 END
31 cat > zardoz.texi << 'END'
32 @setfilename zardoz
33 @include version.texi
34 END
36 # Required when using Texinfo.
37 : > mdate-sh
38 : > texinfo.tex
40 $ACLOCAL
41 $AUTOMAKE
43 grep '^zardoz\.dvi:.*[ /]version.texi' Makefile.in