Fix for PR automake/14:
[automake.git] / tests / instman.test
blob60d231bdb9bcb696064d8e2c9364c5bb65a9b4c2
1 #! /bin/sh
3 # Test to make sure mkinstalldirs invocation correct in install-man
4 # target. Bug reported by Gordon Irlam <gordoni@cygnus.com>.
6 . $srcdir/defs || exit 1
8 cat > Makefile.am << 'EOF'
9 man_MANS = frob.8
10 EOF
12 : > frob.8
14 $AUTOMAKE || exit 1
16 grep '[^(/]mkinstalldirs' Makefile.in > out || exit 1
17 test `wc -l < out` -eq 1