autoungunk.sh 456 B

12345678910111213141516171819
  1. #!/bin/sh
  2. # This script tries to clean up as much as is possible from whatever diabolical
  3. # mess has been left in the directory thanks to autoconf, automake, and their
  4. # friends.
  5. if test -f Makefile.plain; then
  6. if test -f Makefile; then
  7. make distclean
  8. fi
  9. mv Makefile.plain Makefile
  10. else
  11. make clean
  12. fi
  13. rm -f aclocal.m4 config.* configure install-sh \
  14. missing mkinstalldirs stamp-h.* Makefile.in \
  15. ltconfig ltmain.sh depcomp
  16. rm -rf autom4te.cache