File: info.test

package info (click to toggle)
automake 1%3A1.4-p4-1.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,312 kB
  • ctags: 21
  • sloc: perl: 5,516; sh: 5,218; ansic: 404; makefile: 196
file content (28 lines) | stat: -rwxr-xr-x 415 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#! /bin/sh

# Test to make sure info files are distributed correctly.

. $srcdir/defs || exit 1

cat > Makefile.am << 'END'
info_TEXINFOS = foo.texi

magic:
	@echo $(INFOS)
END

echo '@setfilename foo.info' > foo.texi
: > texinfo.tex

$AUTOMAKE || exit 1

for i in `grep '^INFOS =' Makefile.in | sed -e 's/^INFOS = //'`; do
   echo $i
   case "$i" in
    foo*)
       ;;
    *)
       exit 1
       ;;
   esac
done