blob: 728db88b0212df8261a607fd0f327ba199fd6457 [file] [log] [blame]
Patrick Ventureaccc9172018-07-24 10:51:58 -07001#!/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 for file in ${AUTOCONF_FILES}; do
11 find -name "$file" | xargs -r rm -rf
12 done
13 exit 0
14 ;;
15esac
16
17autoreconf -i
Patrick Venture7dc46702018-08-08 09:43:33 -070018git submodule init
19git submodule update
Patrick Ventureaccc9172018-07-24 10:51:58 -070020echo 'Run "./configure ${CONFIGURE_FLAGS} && make"'
21