blob: c7f50542f23e2aba1a52adfd65ea6b1f9e60b8db [file] [log] [blame]
Mark Sleeeb0d0242007-01-25 07:58:55 +00001#!/bin/sh
2
David Reiss1ac120f2007-08-29 00:58:14 +00003subdirs="compiler/cpp lib/cpp lib/py if"
Mark Sleeeb0d0242007-01-25 07:58:55 +00004
5rm -rf \
6AUTHORS \
Mark Sleeeb0d0242007-01-25 07:58:55 +00007ChangeLog \
8INSTALL \
9Makefile.am \
10Makefile \
11Makefile.in \
12Makefile.orig \
13NEWS \
14aclocal.m4 \
15autom4te.cache \
16autoscan.log \
17config.guess \
18config.h \
19config.hin \
20config.log \
21config.status \
22config.sub \
23configure \
24configure.scan \
25depcomp \
26.deps \
27install-sh \
28.libs \
29libtool \
30ltmain.sh \
David Reiss23753122007-08-27 19:57:34 +000031missing \
32if/gen-*
Mark Sleeeb0d0242007-01-25 07:58:55 +000033
34for subdir in ${subdirs}; do
35 if [ -x "${subdir}/cleanup.sh" ]; then
36 cwd="`pwd`"
Mark Slee4c91e552007-03-08 01:22:46 +000037 cd "${subdir}"
Mark Sleeeb0d0242007-01-25 07:58:55 +000038 ./cleanup.sh
Mark Slee4c91e552007-03-08 01:22:46 +000039 cd "${cwd}"
Mark Sleeeb0d0242007-01-25 07:58:55 +000040 fi
41done