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