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