mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
832b262aca
Summary: Ben Maurer suggested that it would make sense for Thrift to build as a single project, with one configure.ac and multiple Makefile.am. He was also kind enough to do the heavy lifting, and this commit is the application of his patch (with minor modifications). The most significant visible change from this diff is that in order to buidl one of the thrift sub-projects (i.e.: the compiler, the C++ library, or the Python library) you must run bootstrap.sh and configure in the Thrift root, then make in the specific project. Users who want to build and install the Python library but can't run configure because they don't have Boost can simply run setup.py directly. Reviewed By: mcslee Test Plan: Built Thrift from scratch. Revert Plan: ok git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665409 13f79535-47bb-0310-9956-ffa450edef68
41 lines
542 B
Bash
Executable File
41 lines
542 B
Bash
Executable File
#!/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
|