#!/bin/sh
# Test @copying.  The configure script for tramp uses this to make sure
# the makeinfo that is present supports @copying.

unset TEXINFO_OUTPUT
: ${srcdir=.}

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

rm -f copying.out
