blob: 0ffe31c3a24e699f9ee740999718129de7b7008b [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 \
Mark Sleeeb0d0242007-01-25 07:58:55 +00009Makefile \
10Makefile.in \
11Makefile.orig \
Mark Sleeeb0d0242007-01-25 07:58:55 +000012aclocal.m4 \
13autom4te.cache \
14autoscan.log \
15config.guess \
16config.h \
17config.hin \
18config.log \
19config.status \
20config.sub \
21configure \
22configure.scan \
23depcomp \
24.deps \
25install-sh \
26.libs \
27libtool \
28ltmain.sh \
David Reiss23753122007-08-27 19:57:34 +000029missing \
David Reissb72d19f2007-09-18 19:46:00 +000030ylwrap \
David Reiss23753122007-08-27 19:57:34 +000031if/gen-*
Mark Sleeeb0d0242007-01-25 07:58:55 +000032
33for subdir in ${subdirs}; do
34 if [ -x "${subdir}/cleanup.sh" ]; then
35 cwd="`pwd`"
Mark Slee4c91e552007-03-08 01:22:46 +000036 cd "${subdir}"
Mark Sleeeb0d0242007-01-25 07:58:55 +000037 ./cleanup.sh
Mark Slee4c91e552007-03-08 01:22:46 +000038 cd "${cwd}"
Mark Sleeeb0d0242007-01-25 07:58:55 +000039 fi
40done