blob: 2cf4c00c9c622f9a327dfd95ecc8b11ab8475507 [file] [log] [blame]
Mark Sleeeb0d0242007-01-25 07:58:55 +00001#!/bin/sh
2
3subdirs="compiler/cpp lib/cpp lib/php lib/py"
4
5rm -rf \
6AUTHORS \
7COPYING \
8ChangeLog \
9INSTALL \
10Makefile.am \
11Makefile \
12Makefile.in \
13Makefile.orig \
14NEWS \
15aclocal.m4 \
16autom4te.cache \
17autoscan.log \
18config.guess \
19config.h \
20config.hin \
21config.log \
22config.status \
23config.sub \
24configure \
25configure.scan \
26depcomp \
27.deps \
28install-sh \
29.libs \
30libtool \
31ltmain.sh \
32missing
33
34for subdir in ${subdirs}; do
35 if [ -x "${subdir}/cleanup.sh" ]; then
36 cwd="`pwd`"
37 cd ${subdir}
38 ./cleanup.sh
39 cd ${cwd}
40 fi
41done