avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mas...@apache.org
Subject svn commit: r900970 - in /hadoop/avro/trunk: CHANGES.txt lang/c/build.sh
Date Tue, 19 Jan 2010 21:38:40 GMT
Author: massie
Date: Tue Jan 19 21:38:40 2010
New Revision: 900970

URL: http://svn.apache.org/viewvc?rev=900970&view=rev
Log:
AVRO-353.  Publish the C API to avro-doc package when 'dist' target run

Modified:
    hadoop/avro/trunk/CHANGES.txt
    hadoop/avro/trunk/lang/c/build.sh

Modified: hadoop/avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/CHANGES.txt?rev=900970&r1=900969&r2=900970&view=diff
==============================================================================
--- hadoop/avro/trunk/CHANGES.txt (original)
+++ hadoop/avro/trunk/CHANGES.txt Tue Jan 19 21:38:40 2010
@@ -227,6 +227,8 @@
     AVRO-336. Check that appropriate schemas are passed to
     GenericData#Record and #Array.  (cutting)
 
+    AVRO-353. Publish the C API to avro-doc package when 'dist' target run (massie)
+
   OPTIMIZATIONS
 
     AVRO-172. More efficient schema processing (massie)

Modified: hadoop/avro/trunk/lang/c/build.sh
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/lang/c/build.sh?rev=900970&r1=900969&r2=900970&view=diff
==============================================================================
--- hadoop/avro/trunk/lang/c/build.sh (original)
+++ hadoop/avro/trunk/lang/c/build.sh Tue Jan 19 21:38:40 2010
@@ -7,6 +7,7 @@
 dist_dir="../../dist"
 version=$(./version.sh project)
 tarball="avro-c-$version.tar.gz"
+doc_dir="../../build/avro-doc-$version/api/c"
 
 function autoreconf_check {
   if [ ! -f configure ]; then
@@ -42,7 +43,11 @@
 	if [ ! -d $dist_dir ]; then 
            mkdir -p $dist_dir 
         fi
+	if [ ! -d $doc_dir ]; then
+           mkdir -p $doc_dir
+	fi
 	mv $build_dir/$tarball $dist_dir
+	cp $build_dir/docs/*.html $doc_dir
         md5file="$dist_dir/$tarball.md5"
 	md5sum $dist_dir/$tarball > $md5file 2>/dev/null || md5 $dist_dir/$tarball > $md5file
2>/dev/null
         clean



Mime
View raw message