TIVI-153: Adding automake14 as dep for iputils package
[profile/ivi/automake14.git] / tests / texinfo2.test
1 #! /bin/sh
2
3 # Test to ensure that a ".info~" file doesn't end up in the
4 # distribution.  Bug report from Greg McGary.
5
6 . $srcdir/defs || exit 1
7
8 cat > Makefile.am << 'END'
9 info_TEXINFOS = textutils.texi
10 magic:
11         @echo $(DISTFILES)
12 END
13
14 : > texinfo.tex
15 echo '@setfilename textutils.info' > textutils.texi
16 : > textutils.info~
17
18 $AUTOMAKE || exit 1
19
20 test -z "`$MAKE -s -f Makefile.in magic | grep '~'`"