From a29a2635b33e0b9ae03cdd089227d538ef2c8672 Mon Sep 17 00:00:00 2001
From: Chad Metcalf <chad@cloudera.com>
Date: Thu, 24 Sep 2009 16:07:18 -0700
Subject: [PATCH] More changes to get debs building correctly

---
 cloudera/do-release-build |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/cloudera/do-release-build b/cloudera/do-release-build
index 173cfe8..4d268cd 100755
--- a/cloudera/do-release-build
+++ b/cloudera/do-release-build
@@ -57,6 +57,10 @@ if which libtoolize && libtoolize --version | grep --silent 2.2 ; then
     (cd $dir && libtoolize --force)
   done
 fi
+  
+for dir in src/native src/examples/pipes src/c++/libhdfs/ src/c++/pipes src/c++/utils ; do
+    (cd $dir && rm -rf autom4te.cache) 
+done
 
 
 JAVA_HOME=$JAVA32_HOME \
@@ -89,12 +93,3 @@ JAVA_HOME=$JAVA64_HOME \
   -Dforrest.home=$FORREST_HOME \
   -propertyfile cloudera/build.properties \
   compile-core-native compile-c++ compile-c++-examples tar
-
-cd $RELEASE_DIR/src/contrib/sqoop
-
-JAVA_HOME=$JAVA64_HOME \
-  ant \
-  -Djava5.home=$JAVA5_HOME \
-  -Dforrest.home=$FORREST_HOME \
-  -propertyfile cloudera/build.properties \
-  doc
-- 
1.6.0.4

