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