#!/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 testag
mkdir testag; cd testag
mkdir deeper; cd deeper
sh $HERE/autoproject -d "brushes dog" -L -L../../$srcdir/lib -i cli groomer -p autogen <<EOF






y
y






EOF
cd groomer
make
make distcheck
