thrift/bootstrap.sh
Mark Slee e2bd58da29 Add python scons rules
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664860 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 05:09:24 +00:00

50 lines
641 B
Bash
Executable File

#!/bin/sh
subdirs="compiler/py lib/cpp lib/php"
rm -rf \
AUTHORS \
COPYING \
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
echo "SUBDIRS = ${subdirs}" > Makefile.am
aclocal
touch NEWS README AUTHORS ChangeLog
autoconf
automake -ac
for subdir in ${subdirs}; do
if [ -x "${subdir}/bootstrap.sh" ]; then
cwd="`pwd`"
cd ${subdir}
./bootstrap.sh
cd ${cwd}
fi
done