configurationengine/generatedoc-build.xml
author m2lahtel
Thu, 21 Oct 2010 16:36:53 +0300
changeset 5 d2c80f5cab53
parent 0 2e8eeb919028
permissions -rw-r--r--
Updated to version 1.2.14

<!--****************************************************************************
 * ConE document generation
 * This ant build.xml will generate all ConE related documents
 ****************************************************************************-->
 
<project name="ConE generatedoc" default="doc-all">
	<!-- import common properties for this plugin -->
	<property file="common.properties"/>
	<property file="install.properties"/>
    
	<target name="doc-all" depends="epydoc, sphinx"/>
    
	<target name="init-generatedoc">
	  <mkdir dir="${document.output}"/>
	  <mkdir dir="${document.output}/epydoc"/>
	</target>
      
	<target name="epydoc" depends="init-generatedoc">
		<exec executable="cmd">
            <arg line='/c "epydoc source/cone -o ${document.output}/epydoc --exclude tests"'/>
		</exec>
	</target>

	<target name="sphinx" depends="init-generatedoc">
        <exec executable="cmd">
            <arg line='/c "sphinx-build -b html ./doc ${document.output}"'/>
		</exec>
	</target>
  	
</project>