#!/bin/sh
if [ -e "lib/Makefile" ] || [ -e "examples/Makefile" ]; then
        make -i distclean
fi

# Clear all auto-generated files
rm -rf *~ aclocal.m4 autom4te.cache configure depcomp install-sh missing mkinstalldirs stamp-h.in

aclocal
# autoheader
automake -a -c
autoconf
rm -rf autom4te.cache
