blob: f1be536bf6dd36f44235a54202db01da4a177455 [file] [log] [blame]
Andrew Jeffery22778042017-01-13 22:37:26 +10301#!/bin/sh
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 test -d linux && find linux -type d -empty | xargs -r rm -rf
11 for file in ${AUTOCONF_FILES}; do
12 find -name "$file" | xargs -r rm -rf
13 done
14 exit 0
15 ;;
16esac
17
18autoreconf -i
19echo 'Run "./configure ${CONFIGURE_FLAGS} && make"'