#!/bin/sh
set -x

rm -fv \
	acinclude.m4 \
	aclocal.m4 \
	missing

# build it all.
libtoolize --copy --force && \
	aclocal -I macros $ACLOCAL_FLAGS && \
	autoheader && \
	automake --include-deps --add-missing --foreign && \
	autoconf

# just in case automake generated errors...
autoconf
