Fix for PR automake/14:
[automake.git] / tests / all.test
blob61e129282147a12859755b6b88eedb5e24508b59
1 #! /bin/sh
3 # Test to make sure all-local and other -local targets work correctly.
5 . $srcdir/defs || exit 1
7 for target in all install-exec install-data uninstall; do
8 echo "Doing $target"
9 echo "${target}-local:" > Makefile.am
11 $AUTOMAKE || exit 1
13 fgrep "${target}-local ${target}-local" Makefile.in && exit 1
14 done
15 exit 0