1#! /bin/sh
2#
3#       The Initial Developer of the Original Code is International
4#       Business Machines Corporation. Portions created by IBM
5#       Corporation are Copyright (C) 2005 International Business
6#       Machines Corporation. All Rights Reserved.
7#
8#       This program is free software; you can redistribute it and/or modify
9#       it under the terms of the Common Public License as published by
10#       IBM Corporation; either version 1 of the License, or (at your option)
11#       any later version.
12#
13#       This program is distributed in the hope that it will be useful,
14#       but WITHOUT ANY WARRANTY; without even the implied warranty of
15#       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16#       Common Public License for more details.
17#
18#       You should have received a copy of the Common Public License
19#       along with this program; if not, a copy can be viewed at
20#       http://www.opensource.org/licenses/cpl1.0.php.
21#
22# cleanup.sh
23
24set -x
25if [ -f Makefile ] ; then
26	make -k clean
27fi
28rm ABOUT-NLS
29rm config.rpath
30rm mkinstalldirs
31rm -rf m4/
32rm -rf po/
33rm aclocal.m4
34rm -rf autom4te.cache
35rm compile
36rm config.*
37rm configure
38rm depcomp
39rm install-sh
40rm ltmain.sh
41rm missing
42rm libtool
43find . -name Makefile -exec rm {} \;
44find . -name Makefile.in -exec rm {} \;
45find . -depth -name .deps -exec  rm -rf {} \;
46