<?xml version="1.0" encoding="UTF-8"?>
<project name="CDT ISV Doc Build" default="all"  basedir="." >

	<target name="all">
		<antcall target="convertSchemaToHtml" />
		<antcall target="build.index" />
	</target>

	<target name="build.index" description="Builds search index for the plug-in: org.eclipse.cdt.doc.isv" if="eclipse.running">
		<help.buildHelpIndex manifest="${basedir}/plugin.xml" destination="${basedir}" />
	</target>

	<target name="convertSchemaToHtml" if="eclipse.running">
		<property name="dest" value="reference/extension-points" />
	    <record name="${basedir}/cdtconvert.txt" action="start"/>
	    <pde.convertSchemaToHTML manifest="../../core/org.eclipse.cdt.core/plugin.xml" destination="${dest}" />
	    <pde.convertSchemaToHTML manifest="../../core/org.eclipse.cdt.ui/plugin.xml" destination="${dest}" />
	    <pde.convertSchemaToHTML manifest="../../debug/org.eclipse.cdt.debug.core/plugin.xml" destination="${dest}" />
	    <pde.convertSchemaToHTML manifest="../../build/org.eclipse.cdt.make.core/plugin.xml" destination="${dest}" />
	    <pde.convertSchemaToHTML manifest="../../build/org.eclipse.cdt.make.ui/plugin.xml" destination="${dest}" />
	    <pde.convertSchemaToHTML manifest="../../build/org.eclipse.cdt.managedbuilder.core/plugin.xml" destination="${dest}" />
	    <pde.convertSchemaToHTML manifest="../../build/org.eclipse.cdt.managedbuilder.ui/plugin.xml" destination="${dest}" />
	    <record name="${basedir}/cdtconvert.txt" action="stop"/>
	</target>
	
</project>
