configurationengine/generatedoc-build.xml
author Bob Rosenberg <bob.rosenberg@nokia.com>
Wed, 13 Oct 2010 16:21:25 +0100
changeset 7 3c36c452f013
parent 0 2e8eeb919028
permissions -rw-r--r--
Version 2.0 release of System Model Generator, which draws 3.x syntax system definition files

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