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
#!/bin/sh
-
-subdirs=" if"
-
./cleanup.sh
autoscan || exit 1
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
-
#!/bin/sh
+topsrcdir="`dirname $0`"
+cd "$topsrcdir"
+
make distclean >/dev/null 2>&1
+find . -name Makefile.in -exec rm -f {} \;
rm -rf \
AUTHORS \
ChangeLog \
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-*