xref: /openbmc/inarp/bootstrap.sh (revision 2af0b2d9)
1*2af0b2d9SMatthew Barth#!/bin/sh
2*2af0b2d9SMatthew Barth
3*2af0b2d9SMatthew BarthAUTOCONF_FILES="Makefile.in aclocal.m4 ar-lib autom4te.cache compile \
4*2af0b2d9SMatthew Barth        config.guess config.h.in config.sub configure depcomp install-sh \
5*2af0b2d9SMatthew Barth        ltmain.sh missing *libtool test-driver"
6*2af0b2d9SMatthew Barth
7*2af0b2d9SMatthew Barthcase $1 in
8*2af0b2d9SMatthew Barth    clean)
9*2af0b2d9SMatthew Barth        test -f Makefile && make maintainer-clean
10*2af0b2d9SMatthew Barth        for file in ${AUTOCONF_FILES}; do
11*2af0b2d9SMatthew Barth            find -name "$file" | xargs -r rm -rf
12*2af0b2d9SMatthew Barth        done
13*2af0b2d9SMatthew Barth        exit 0
14*2af0b2d9SMatthew Barth        ;;
15*2af0b2d9SMatthew Barthesac
16*2af0b2d9SMatthew Barth
17*2af0b2d9SMatthew Barthautoreconf -i
18*2af0b2d9SMatthew Barthecho 'Run "./configure ${CONFIGURE_FLAGS} && make"'
19