r1192@dev030 (orig r59869): dweatherford | 2007-09-15 01:49:48 -0700
[amiethrift.git] / cleanup.sh
blobc7f50542f23e2aba1a52adfd65ea6b1f9e60b8db
1 #!/bin/sh
3 subdirs="compiler/cpp lib/cpp lib/py if"
5 rm -rf \
6 AUTHORS \
7 ChangeLog \
8 INSTALL \
9 Makefile.am \
10 Makefile \
11 Makefile.in \
12 Makefile.orig \
13 NEWS \
14 aclocal.m4 \
15 autom4te.cache \
16 autoscan.log \
17 config.guess \
18 config.h \
19 config.hin \
20 config.log \
21 config.status \
22 config.sub \
23 configure \
24 configure.scan \
25 depcomp \
26 .deps \
27 install-sh \
28 .libs \
29 libtool \
30 ltmain.sh \
31 missing \
32 if/gen-*
34 for subdir in ${subdirs}; do
35 if [ -x "${subdir}/cleanup.sh" ]; then
36 cwd="`pwd`"
37 cd "${subdir}"
38 ./cleanup.sh
39 cd "${cwd}"
41 done