avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbana...@apache.org
Subject svn commit: r904389 - in /hadoop/avro/trunk: ./ lang/c++/ lang/c++/config/
Date Fri, 29 Jan 2010 05:59:09 GMT
Author: sbanacho
Date: Fri Jan 29 05:59:09 2010
New Revision: 904389

URL: http://svn.apache.org/viewvc?rev=904389&view=rev
Log:
AVRO-374. Remove and ignore files that are created by autoreconf.

Added:
    hadoop/avro/trunk/lang/c++/.gitignore
Removed:
    hadoop/avro/trunk/lang/c++/INSTALL
    hadoop/avro/trunk/lang/c++/Makefile.in
    hadoop/avro/trunk/lang/c++/aclocal.m4
    hadoop/avro/trunk/lang/c++/config/compile
    hadoop/avro/trunk/lang/c++/config/config.guess
    hadoop/avro/trunk/lang/c++/config/config.sub
    hadoop/avro/trunk/lang/c++/config/depcomp
    hadoop/avro/trunk/lang/c++/config/install-sh
    hadoop/avro/trunk/lang/c++/config/ltmain.sh
    hadoop/avro/trunk/lang/c++/config/missing
    hadoop/avro/trunk/lang/c++/config/ylwrap
    hadoop/avro/trunk/lang/c++/configure
Modified:
    hadoop/avro/trunk/CHANGES.txt
    hadoop/avro/trunk/lang/c++/   (props changed)
    hadoop/avro/trunk/lang/c++/build.sh
    hadoop/avro/trunk/lang/c++/config/   (props changed)

Modified: hadoop/avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/CHANGES.txt?rev=904389&r1=904388&r2=904389&view=diff
==============================================================================
--- hadoop/avro/trunk/CHANGES.txt (original)
+++ hadoop/avro/trunk/CHANGES.txt Fri Jan 29 05:59:09 2010
@@ -34,6 +34,8 @@
 
     AVRO-349. Fix C++ build for post-AVRO-163. (sbanacho)
 
+    AVRO-374. Remove and ignore files that are created by autoreconf. (sbanacho)
+
   NEW FEATURES
 
     AVRO-151. Validating Avro schema parser for C (massie)

Propchange: hadoop/avro/trunk/lang/c++/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Fri Jan 29 05:59:09 2010
@@ -1,9 +1,6 @@
-Makefile
+autom4te.cache
+configure
+Makefile.in
+INSTALL
+aclocal.m4
 config.log
-config.status
-obj
-precompile
-test.avro
-testgen
-testparser
-unittest

Added: hadoop/avro/trunk/lang/c++/.gitignore
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/lang/c%2B%2B/.gitignore?rev=904389&view=auto
==============================================================================
--- hadoop/avro/trunk/lang/c++/.gitignore (added)
+++ hadoop/avro/trunk/lang/c++/.gitignore Fri Jan 29 05:59:09 2010
@@ -0,0 +1,5 @@
+autom4te.cache
+Makefile.in
+configure
+INSTALL
+aclocal.m4

Modified: hadoop/avro/trunk/lang/c++/build.sh
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/lang/c%2B%2B/build.sh?rev=904389&r1=904388&r2=904389&view=diff
==============================================================================
--- hadoop/avro/trunk/lang/c++/build.sh (original)
+++ hadoop/avro/trunk/lang/c++/build.sh Fri Jan 29 05:59:09 2010
@@ -17,6 +17,16 @@
 
 set -e # exit on error
 
+function usage {
+  echo "Usage: $0 {test|dist|clean}"
+  exit 1
+}
+
+if [ $# -eq 0 ]
+then
+  usage
+fi
+
 cd `dirname "$0"` # connect to root
 
 VERSION=`cat ../../share/VERSION.txt`
@@ -34,7 +44,12 @@
 do
 
 function do_autoreconf {
-    autoreconf -f -i
+    if [ ! -f configure ]; then
+        autoreconf -f -i
+    fi
+    if [ ! -f configure ]; then
+        exit 1
+    fi
 }
 
 function check_dir {
@@ -53,7 +68,7 @@
     check_dir $build_dir
 
     if [ ! -f $build_dir/Makefile ]; then
-        (cd $build_dir && $root_dir/configure)
+        (cd $build_dir && ../../lang/c++/configure)
     fi
 
     if [ ! -f $build_dir/Makefile ]; then
@@ -114,7 +129,7 @@
 	;;
 
     dist)
-    #do_configure
+    do_configure
     do_dist
     ;;
 
@@ -123,8 +138,7 @@
 	;;
 
     *)
-        echo "Usage: $0 {test|dist|clean}"
-        exit 1
+        usage
 esac
 
 done

Propchange: hadoop/avro/trunk/lang/c++/config/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Jan 29 05:59:09 2010
@@ -0,0 +1 @@
+*



Mime
View raw message