Vishwanatha | 81ee91f | 2016-08-30 17:17:13 +0530 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
Patrick Williams | f521145 | 2016-11-09 21:58:38 -0600 | [diff] [blame^] | 3 | AUTOCONF_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" |
Vishwanatha | 81ee91f | 2016-08-30 17:17:13 +0530 | [diff] [blame] | 6 | |
| 7 | case $1 in |
| 8 | clean) |
| 9 | test -f Makefile && make maintainer-clean |
Patrick Williams | f521145 | 2016-11-09 21:58:38 -0600 | [diff] [blame^] | 10 | for file in ${AUTOCONF_FILES}; do |
| 11 | find -name "$file" | xargs -r rm -rf |
| 12 | done |
Vishwanatha | 81ee91f | 2016-08-30 17:17:13 +0530 | [diff] [blame] | 13 | exit 0 |
| 14 | ;; |
| 15 | esac |
| 16 | |
| 17 | autoreconf -i |
| 18 | echo 'Run "./configure ${CONFIGURE_FLAGS} && make"' |