File: vtexi.test

package info (click to toggle)
automake 1.3-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 1,944 kB
  • ctags: 24
  • sloc: perl: 4,855; sh: 3,833; ansic: 387; makefile: 163
file content (27 lines) | stat: -rwxr-xr-x 551 bytes parent folder | download | duplicates (8)
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
#!/bin/sh

# Test for bug reported by Jim Meyering:
# When I ran automake-0.29 on textutils,
# I noticed that doc/Makefile.in had
#   textutils.info: textutils.texi
# instead of
#   textutils.info: textutils.texi version.texi

. $srcdir/defs || exit 1

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

cat > textutils.texi << 'END'
@include version.texi
@setfilename textutils.info
END

# Required when using Texinfo.
: > mdate-sh
: > texinfo.tex

$AUTOMAKE || exit 1

grep '^textutils\.info: textutils\.texi version\.texi$' Makefile.in