#!/bin/sh subdirs="compiler/cpp lib/cpp lib/py if" rm -rf \ AUTHORS \ ChangeLog \ INSTALL \ Makefile \ Makefile.in \ Makefile.orig \ aclocal.m4 \ autom4te.cache \ autoscan.log \ config.guess \ config.h \ config.hin \ config.log \ config.status \ config.sub \ configure \ configure.scan \ depcomp \ .deps \ install-sh \ .libs \ libtool \ ltmain.sh \ missing \ ylwrap \ if/gen-* for subdir in ${subdirs}; do if [ -x "${subdir}/cleanup.sh" ]; then cwd="`pwd`" cd "${subdir}" ./cleanup.sh cd "${cwd}" fi done