#!/bin/sh -x
#
# clean out our junk/dirty secrets and make a tarball

make clean
find . -name CVS | xargs rm -rf
rm GUI/*html*
rm GUI/*suck*
rm -rf GUI/acl_editor

pushd GUI/nfs4-acl-editor
make clean
rm -rf nfs4-acl-editor
popd

cd ..
tar cvzf /tmp/nfs4-acl-tool-`date +%Y%m%d`.tar.gz nfs4-acl-tool && echo "made the tarball .."
