#!/bin/sh

set -e
set -x
if test -f Makefile; then
  make distclean
fi
rm -rf *.cache *.m4 config.guess config.log \
config.status config.sub depcomp ltmain.sh

#gettextize --force
aclocal -I aclocal
libtoolize --force --copy
autoheader
automake --add-missing --foreign
autoconf
