| 1 | #!/bin/bash -e |
| 2 | if [ "${1}" = "clean" ]; then |
| 3 | make distclean 2>/dev/null || true |
| 4 | for f in missing install-sh mkinstalldirs config.guess config.sub \ |
| 5 | depcomp INSTALL COPYING ltmain.sh; do |
| 6 | test -h "$f" && rm -f -v "$f" |
| 7 | done |
| 8 | rm -f -v *~ configure config.h.in config.h stamp-h.in stamp-h1* \ |
| 9 | config.cache config.log config.status aclocal.m4 libtool |
| 10 | rm -r -f -v autom4te.cache |
| 11 | rm -f -v *.lsm |
| 12 | else |
| 13 | aclocal |
| 14 | autoheader |
| 15 | automake --add-missing |
| 16 | autoreconf |
| 17 | fi |