#!/bin/sh
# $Id: copying,v 1.4 2007/07/01 18:38:52 karl Exp $
# Test @copying.  The configure script for tramp uses this to make sure
# the makeinfo that is present supports @copying.

unset TEXINFO_OUTPUT LANG LANGUAGE
LC_ALL=POSIX; export LC_ALL
: ${srcdir=.}

../makeinfo -o copying.out $srcdir/copying.txi || exit 1
fgrep 'produced by' copying.out >/dev/null || exit 2

rm -f copying.out
