#!/bin/sh -e

# chkag - check out autoproject by building a source package using autogen

# remember where the skeletons are buried
srcdir=${srcdir:-.}
HERE=`pwd`
# aclocal looks in .. and ../.. for some standard files, so we start
# deeper than that
rm -rf testar
mkdir testar; cd testar
mkdir deeper; cd deeper
sh $HERE/autoproject -d "cuts the grass" -L -L../../$srcdir/lib -i cli mower -p argp <<EOF






y
y






EOF
cd mower
make
make distcheck
