diff options
author | David Reiss <dreiss@apache.org> | 2008-02-23 21:56:16 +0000 |
---|---|---|
committer | David Reiss <dreiss@apache.org> | 2008-02-23 21:56:16 +0000 |
commit | dab2ad85dab534fb0488ce530d5231261c56487c (patch) | |
tree | 76aecbdbb5c31794511cf23c3cafa4489e66a874 | |
parent | 132cc46d07a2b92f273b37f4c163b03a001f1a5a (diff) | |
download | thrift-dab2ad85dab534fb0488ce530d5231261c56487c.tar.gz |
Thrift: Clean up cleanup.sh and bootstrap.sh
Reviewed By: marc
Test Plan:
dreiss@dreiss-vmware:cleanup:thrift/if$ ../cleanup.sh
dreiss@dreiss-vmware:cleanup:thrift/if$ git clean -nxd
dreiss@dreiss-vmware:cleanup:thrift/if$
Revert Plan: ok
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665493 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-x | bootstrap.sh | 13 | ||||
-rwxr-xr-x | cleanup.sh | 14 |
2 files changed, 5 insertions, 22 deletions
diff --git a/bootstrap.sh b/bootstrap.sh index 92535fca1..5723c1c44 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,8 +1,5 @@ #!/bin/sh - -subdirs=" if" - ./cleanup.sh autoscan || exit 1 @@ -17,13 +14,3 @@ fi autoconf automake -ac --add-missing --foreign || exit 1 - -for subdir in ${subdirs}; do - if [ -x "${subdir}/bootstrap.sh" ]; then - cwd="`pwd`" - cd "${subdir}" - ./bootstrap.sh - cd "${cwd}" - fi -done - diff --git a/cleanup.sh b/cleanup.sh index 0f2cc70e0..d6b6df7e6 100755 --- a/cleanup.sh +++ b/cleanup.sh @@ -1,6 +1,10 @@ #!/bin/sh +topsrcdir="`dirname $0`" +cd "$topsrcdir" + make distclean >/dev/null 2>&1 +find . -name Makefile.in -exec rm -f {} \; rm -rf \ AUTHORS \ ChangeLog \ @@ -28,12 +32,4 @@ libtool \ ltmain.sh \ missing \ ylwrap \ -if/gen-* \ -compiler/cpp/Makefile.in \ -if/Makefile.in \ -lib/Makefile.in \ -lib/cpp/Makefile.in \ -lib/py/Makefile.in \ -lib/csharp/Makefile.in \ -test/Makefile.in \ -test/py/Makefile.in +if/gen-* |