blob: d96d0cd95f85fe1d2df657c13e18b9a821562bcc [file] [log] [blame]
Matthew Barthc91be8e2016-09-15 14:51:57 -05001#!/bin/sh
2
3AUTOCONF_FILES="Makefile.in aclocal.m4 compile config.guess config.h.in \
4 config.sub configure depcomp install-sh ltmain.sh missing *libtool* \
5 test-driver"
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 -i
18echo 'Run "./configure ${CONFIGURE_FLAGS} && make"'