avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r781218 - in /hadoop/avro/trunk: CHANGES.txt build.xml
Date Wed, 03 Jun 2009 00:10:51 GMT
Author: cutting
Date: Wed Jun  3 00:10:50 2009
New Revision: 781218

URL: http://svn.apache.org/viewvc?rev=781218&view=rev
Log:
AVRO-44.  Fix so that 'ant clean' works even if C has not been built.  Contributed by Matt
Massie.

Modified:
    hadoop/avro/trunk/CHANGES.txt
    hadoop/avro/trunk/build.xml

Modified: hadoop/avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/CHANGES.txt?rev=781218&r1=781217&r2=781218&view=diff
==============================================================================
--- hadoop/avro/trunk/CHANGES.txt (original)
+++ hadoop/avro/trunk/CHANGES.txt Wed Jun  3 00:10:50 2009
@@ -82,3 +82,6 @@
 
     AVRO-40. Fix typo in specfication, where 'unsigned' was used where
     'signed' was intended.  (cutting)
+
+    AVRO-44. Fix so that 'ant clean' works even if C has not been
+    built.  (Matt Massie via cutting)

Modified: hadoop/avro/trunk/build.xml
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/build.xml?rev=781218&r1=781217&r2=781218&view=diff
==============================================================================
--- hadoop/avro/trunk/build.xml (original)
+++ hadoop/avro/trunk/build.xml Wed Jun  3 00:10:50 2009
@@ -543,7 +543,11 @@
     </exec>
   </target>
 
-  <target name="clean-c">
+  <target name="c-makefile-check">
+    <available file="${c.src.dir}/Makefile" property="c-makefile-present"/>
+  </target>
+
+  <target name="clean-c" depends="c-makefile-check" if="c-makefile-present">
     <exec dir="${c.src.dir}" executable="make" failonerror="true">
       <arg value="clean"/>
     </exec>



Mime
View raw message