170dbc587SMatthew Barth#!/bin/sh 270dbc587SMatthew Barth 370dbc587SMatthew BarthAUTOCONF_FILES="Makefile.in aclocal.m4 ar-lib autom4te.cache compile \ 470dbc587SMatthew Barth config.guess config.h.in config.sub configure depcomp install-sh \ 570dbc587SMatthew Barth ltmain.sh missing *libtool test-driver" 670dbc587SMatthew Barth 770dbc587SMatthew Barthcase $1 in 870dbc587SMatthew Barth clean) 970dbc587SMatthew Barth test -f Makefile && make maintainer-clean 1070dbc587SMatthew Barth for file in ${AUTOCONF_FILES}; do 11*248255d2SPatrick Williams find . -name "$file" -print0 | xargs -0 -r rm -rf 1270dbc587SMatthew Barth done 1370dbc587SMatthew Barth exit 0 1470dbc587SMatthew Barth ;; 1570dbc587SMatthew Barthesac 1670dbc587SMatthew Barth 1770dbc587SMatthew Barthautoreconf -i 18*248255d2SPatrick Williams# shellcheck disable=SC2016 1970dbc587SMatthew Barthecho 'Run "./configure ${CONFIGURE_FLAGS} && make"' 20