#!/bin/sh -e

# chk - check out autoproject by building a simple source package

# 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 testplain
mkdir testplain; cd testplain
mkdir deeper; cd deeper
sh $HERE/autoproject -v -d  "washes \"unclean\" windows" -L -L../../$srcdir/lib -i cli squeegee <<EOF






y

y






EOF
cd squeegee
make
make distcheck
