1*70dbc587SMatthew Barth#!/bin/sh 2*70dbc587SMatthew Barth 3*70dbc587SMatthew BarthAUTOCONF_FILES="Makefile.in aclocal.m4 ar-lib autom4te.cache compile \ 4*70dbc587SMatthew Barth config.guess config.h.in config.sub configure depcomp install-sh \ 5*70dbc587SMatthew Barth ltmain.sh missing *libtool test-driver" 6*70dbc587SMatthew Barth 7*70dbc587SMatthew Barthcase $1 in 8*70dbc587SMatthew Barth clean) 9*70dbc587SMatthew Barth test -f Makefile && make maintainer-clean 10*70dbc587SMatthew Barth for file in ${AUTOCONF_FILES}; do 11*70dbc587SMatthew Barth find -name "$file" | xargs -r rm -rf 12*70dbc587SMatthew Barth done 13*70dbc587SMatthew Barth exit 0 14*70dbc587SMatthew Barth ;; 15*70dbc587SMatthew Barthesac 16*70dbc587SMatthew Barth 17*70dbc587SMatthew Barthautoreconf -i 18*70dbc587SMatthew Barthecho 'Run "./configure ${CONFIGURE_FLAGS} && make"' 19