#! /bin/sh # Test to make sure install-exec-hook works. # Report from Tim Goodwin. . $srcdir/defs || exit 1 cat > Makefile.am << 'END' install-exec-hook: @echo nothing END $AUTOMAKE || exit 1 test "`grep install-exec-hook Makefile.in | wc -l`" -gt 1 || exit 1 lnum=`grep -n '^install-exec-am:' Makefile.in | awk -F: '{print $1}'` test x$lnum != x && tail +$lnum Makefile.in | head -3 | grep install-exec-hook