#!/bin/sh

set -x

# remove /everything/ ready to remake
rm -f Makefile Makefile.in aclocal.m4 config.* configure depcomp
rm -rf autom4te.cache
rm -f install-sh intltool-* ltmain.sh missing mkinstalldirs
rm -f src/*.o src/nip2 src/Makefile src/Makefile.in 

# exit

aclocal 
glib-gettextize --force --copy
test -r aclocal.m4 && chmod u+w aclocal.m4
intltoolize --copy --force --automake
autoconf
autoheader
libtoolize --copy --force --automake
automake --add-missing --copy

