configurationengine/generatedoc-build.xml
author terytkon
Sat, 06 Nov 2010 16:59:14 +0200
changeset 9 63964d875993
parent 0 2e8eeb919028
permissions -rw-r--r--
Merge changes to system model generator to SF tip.

<!--****************************************************************************
 * 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>