source: trunk/essentials/sys-devel/automake-1.4/tests/info.test

Last change on this file was 3124, checked in by bird, 18 years ago

automake 1.4-p6

File size: 415 bytes
Line 
1#! /bin/sh
2
3# Test to make sure info files are distributed correctly.
4
5. $srcdir/defs || exit 1
6
7cat > Makefile.am << 'END'
8info_TEXINFOS = foo.texi
9
10magic:
11 @echo $(INFOS)
12END
13
14echo '@setfilename foo.info' > foo.texi
15: > texinfo.tex
16
17$AUTOMAKE || exit 1
18
19for i in `grep '^INFOS =' Makefile.in | sed -e 's/^INFOS = //'`; do
20 echo $i
21 case "$i" in
22 foo*)
23 ;;
24 *)
25 exit 1
26 ;;
27 esac
28done
Note: See TracBrowser for help on using the repository browser.