thrift/cleanup.sh
David Reiss 1ac120f159 Thrift: Install reflection_limited.thrift
Summary:
Building fb303 is hard enough without including limited reflection.
This change will install reflection_limited.thrift into /usr/share/thrift/if
so it will be easier for fb303 to find (we won't have to dig it out of the
thrift source directory).

Reviewed By: mcslee, marc

Test Plan:
./bootstrap.sh && ./configure && make && sudo make install
(on my vmware box).

Revert Plan: ok


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665230 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 00:58:14 +00:00

42 lines
534 B
Bash
Executable File

#!/bin/sh
subdirs="compiler/cpp lib/cpp lib/py if"
rm -rf \
AUTHORS \
ChangeLog \
INSTALL \
Makefile.am \
Makefile \
Makefile.in \
Makefile.orig \
NEWS \
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 \
if/gen-*
for subdir in ${subdirs}; do
if [ -x "${subdir}/cleanup.sh" ]; then
cwd="`pwd`"
cd "${subdir}"
./cleanup.sh
cd "${cwd}"
fi
done