Author: jhm
Date: Wed Apr  9 13:54:18 2014
New Revision: 1585973

URL: http://svn.apache.org/r1585973
Log:
Don't try to copy the javadoc if generation was skipped

Modified:
    ant/core/trunk/build.xml

Modified: ant/core/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/build.xml?rev=1585973&r1=1585972&r2=1585973&view=diff
==============================================================================
--- ant/core/trunk/build.xml (original)
+++ ant/core/trunk/build.xml Wed Apr  9 13:54:18 2014
@@ -936,7 +936,7 @@
     </antcall>
   </target>
 
-  <target name="dist_javadocs" depends="javadocs">
+  <target name="dist_javadocs" depends="javadocs" unless="javadoc.notrequired">
     <mkdir dir="${dist.javadocs}"/>
     <copy todir="${dist.javadocs}" overwrite="true">
       <fileset dir="${build.javadocs}"/>


Reply via email to