source:
trunk/essentials/sys-devel/automake-1.4/tests/info.test
Last change on this file was 3124, checked in by , 18 years ago | |
---|---|
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 | |
7 | cat > Makefile.am << 'END' |
8 | info_TEXINFOS = foo.texi |
9 | |
10 | magic: |
11 | @echo $(INFOS) |
12 | END |
13 | |
14 | echo '@setfilename foo.info' > foo.texi |
15 | : > texinfo.tex |
16 | |
17 | $AUTOMAKE || exit 1 |
18 | |
19 | for 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 |
28 | done |
Note:
See TracBrowser
for help on using the repository browser.