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