clean fixlet
[automake.git] / tests / mkinst2.test
blobb30e46dfc3fcf1e692ca1d662d501cd7ec7d9f09
1 #! /bin/sh
3 # Test to make sure no-installman suppresses man dir creation.
5 . $srcdir/defs || exit 1
7 cat > Makefile.am << 'END'
8 AUTOMAKE_OPTIONS = no-installman
9 man_MANS = foo.1
10 END
12 : > foo.1
14 cat > mkinstalldirs << 'END'
15 echo "$@"
16 END
18 chmod +x mkinstalldirs
20 $AUTOMAKE || exit 1
22 ($MAKE -s -f Makefile.in installdirs | grep man) && exit 1
23 exit 0