mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
e2bd58da29
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664860 13f79535-47bb-0310-9956-ffa450edef68
50 lines
641 B
Bash
Executable File
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
|
|
|