#!/bin/sh
#
# $Id$

make clean

rm -rf aclocal.m4 ekg2-config.h ekg2-config.h.in config.log config.status configure configure.lineno 
rm -rf install-sh autom4te.cache config.guess config.sub libtool ltmain.sh stamp-h1 depcomp missing mkinstalldirs
rm -rf compile libltdl
rm -f plugins/perl/common/Makefile.old plugins/perl/irc/Makefile.old
rm -f ABOUT-NLS
rm -f po/Makefile.in.in po/Makevars.template po/POTFILES.in po/ekg2.pot
rm -f po/Rules-quot po/boldquot.sed po/quot.sed
rm -f po/insert-header.sin po/remove-potcdate.sin
rm -f po/en@boldquot.header po/en@quot.header

find . \
 \( -path ./docs/ekg2book/Makefile -o -path ./docs/ekg2book-en/Makefile \) -prune -o \
 \( -name Makefile -o -name Makefile.in -o -name \*.la -o -name \*.a -o -name \*.so -o -name \*.o -type f \) -exec rm -f {} \;
find . \( -name \.deps -o -name \.libs -type d \) -exec rm -rf {} \;
