configurationengine/generatedoc-build.xml
changeset 0 2e8eeb919028
equal deleted inserted replaced
-1:000000000000 0:2e8eeb919028
       
     1 <!--****************************************************************************
       
     2  * ConE document generation
       
     3  * This ant build.xml will generate all ConE related documents
       
     4  ****************************************************************************-->
       
     5  
       
     6 <project name="ConE generatedoc" default="doc-all">
       
     7 	<!-- import common properties for this plugin -->
       
     8 	<property file="common.properties"/>
       
     9 	<property file="install.properties"/>
       
    10     
       
    11 	<target name="doc-all" depends="epydoc, sphinx"/>
       
    12     
       
    13 	<target name="init-generatedoc">
       
    14 	  <mkdir dir="${document.output}"/>
       
    15 	  <mkdir dir="${document.output}/epydoc"/>
       
    16 	</target>
       
    17       
       
    18 	<target name="epydoc" depends="init-generatedoc">
       
    19 		<exec executable="cmd">
       
    20             <arg line='/c "epydoc source/cone -o ${document.output}/epydoc --exclude tests"'/>
       
    21 		</exec>
       
    22 	</target>
       
    23 
       
    24 	<target name="sphinx" depends="init-generatedoc">
       
    25         <exec executable="cmd">
       
    26             <arg line='/c "sphinx-build -b html ./doc ${document.output}"'/>
       
    27 		</exec>
       
    28 	</target>
       
    29   	
       
    30 </project>
       
    31      
       
    32      
       
    33