More bug fixes
[automake.git] / tests / noinst.test
blob342e886998d5b62cb6ba4a992c487bb3c12988d5
1 #! /bin/sh
3 # Check to make sure "make install" will build all in directory with
4 # nothing to install.
6 . $srcdir/defs || exit 1
8 cat > Makefile.am << 'END'
9 all-local:
10 exit 1
11 END
13 $AUTOMAKE || exit 1
15 # "make install" should fail here if there is a bug.
16 make -f Makefile.in install && exit 1
18 exit 0