blob: 4c0b0f5e4b30c6099c854180c0b85d5f4779991a [file] [log] [blame]
Matt Spinlerd82a5f42017-07-24 13:40:37 -05001#!/bin/sh
2
3AUTOCONF_FILES="Makefile.in aclocal.m4 ar-lib autom4te.cache compile \
4 config.guess config.h.in config.h.in~ config.sub configure depcomp \
5 install-sh ltmain.sh missing *libtool"
6
7case $1 in
8 clean)
9 test -f Makefile && make maintainer-clean
10 for file in ${AUTOCONF_FILES}; do
11 find -name "$file" | xargs -r rm -rf
12 done
13 exit 0
14 ;;
15esac
16
17autoreconf -if
18echo 'Run "./configure ${CONFIGURE_FLAGS} && make"'