configurationengine/generatedoc-build.xml
changeset 0 2e8eeb919028
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/configurationengine/generatedoc-build.xml	Thu Mar 11 17:04:37 2010 +0200
@@ -0,0 +1,33 @@
+<!--****************************************************************************
+ * 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>
+     
+     
+     
\ No newline at end of file