Patrick Williams | 5e0b681 | 2016-11-04 16:45:33 -0500 | [diff] [blame] | 1 | #!/bin/sh |
William A. Kennington III | a4446c7 | 2018-06-23 13:32:29 -0700 | [diff] [blame] | 2 | set -e |
| 3 | set -x |
Patrick Williams | 5e0b681 | 2016-11-04 16:45:33 -0500 | [diff] [blame] | 4 | |
| 5 | AUTOCONF_FILES="Makefile.in aclocal.m4 ar-lib autom4te.cache compile \ |
| 6 | config.guess config.h.in config.sub configure depcomp install-sh \ |
| 7 | ltmain.sh missing *libtool test-driver" |
| 8 | |
| 9 | case $1 in |
| 10 | clean) |
| 11 | test -f Makefile && make maintainer-clean |
| 12 | for file in ${AUTOCONF_FILES}; do |
| 13 | find -name "$file" | xargs -r rm -rf |
| 14 | done |
| 15 | exit 0 |
| 16 | ;; |
| 17 | esac |
| 18 | |
William A. Kennington III | c65d74e | 2018-06-19 18:32:09 -0700 | [diff] [blame] | 19 | autoreconf -vfi |
Patrick Williams | 5e0b681 | 2016-11-04 16:45:33 -0500 | [diff] [blame] | 20 | echo 'Run "./configure ${CONFIGURE_FLAGS} && make"' |