blob: f86149693faa26ebe1a852c75821eb2a73577b0c [file] [log] [blame]
Gunnar Mills9df13162017-03-08 15:00:08 -06001#!/bin/sh -xe
2
3AUTOCONF_FILES="Makefile.in aclocal.m4 ar-lib autom4te.cache compile \
4 config.guess config.h.in config.sub configure depcomp install-sh \
5 ltmain.sh missing *libtool 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"'