File: texinfo2.test

package info (click to toggle)
automake 1%3A1.4-p6-13.1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 2,360 kB
  • ctags: 26
  • sloc: perl: 5,527; sh: 5,269; ansic: 404; makefile: 167
file content (20 lines) | stat: -rwxr-xr-x 398 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
#! /bin/sh

# Test to ensure that a ".info~" file doesn't end up in the
# distribution.  Bug report from Greg McGary.

. $srcdir/defs || exit 1

cat > Makefile.am << 'END'
info_TEXINFOS = textutils.texi
magic:
	@echo $(DISTFILES)
END

: > texinfo.tex
echo '@setfilename textutils.info' > textutils.texi
: > textutils.info~

$AUTOMAKE || exit 1

test -z "`$MAKE -s -f Makefile.in magic | grep '~'`"