<?xml version="1.0" encoding="UTF-8" ?>
<project name="make_eclipsehelp" default="dita2htmlhelp" basedir=".">
	<!-- The launch configuration should be setup. -->
	<!-- It's desirable to use a separate JRE with the VM argument -Xmx512m. -->
	<!-- An environment variable DITA_DIR should point to the DITA OT's root directory. -->
	<!-- The classpath should include the directory dita.dir/lib, in order for -->
	<!-- CatalogManager.properties to be accessible. -->
	<!-- The classpath should include all the jar-s in the directory DITA_DIR/lib. -->
	<property name="map.name" value="RfpManual" />
	<property environment="env" />
	<property name="dita.dir" value="${env.DITA_DIR}" />
	<target name="dita2htmlhelp">
		<ant antfile="${dita.dir}${file.separator}build_dita2htmlhelp.xml">
			<property name="args.input" value="src/${map.name}.ditamap" />
			<property name="output.dir" value="." />
			<property name="dita.temp.dir" value="temp" />
			<property name="dita.extname" value=".dita"/>
			<property name="clean.temp" value="yes" />
			<property name="args.css" value="src/RfpManual.css" />
			<property name="args.csspath" value="css" />
			<property name="args.copycss" value="yes" />
		</ant>
	</target>
	<target name="dita2pdf">
		<ant antfile="${dita.dir}${file.separator}build_dita2pdf.xml">
			<property name="args.input" value="src/${map.name}.ditamap" />
			<property name="output.dir" value="." />
			<property name="dita.temp.dir" value="temp" />
			<property name="dita.extname" value=".dita"/>
			<property name="clean.temp" value="yes" />
			<property name="args.fo.output.rel.links" value="no"/>
		</ant>
	</target>
	<target name="dita2eclipsehelp">
		<ant antfile="${dita.dir}${file.separator}build_dita2eclipsehelp.xml">
			<property name="args.input" value="src/${map.name}.ditamap" />
			<property name="output.dir" value="." />
			<property name="dita.temp.dir" value="temp" />
			<property name="dita.extname" value=".dita"/>
			<property name="clean.temp" value="yes" />
			<property name="args.css" value="src/RfpManual.css" />
			<property name="args.csspath" value="css" />
			<property name="args.copycss" value="yes" />
			<property name="args.eclipse.version" value="1.0" />
			<property name="args.eclipse.provider" value="Program Systems Institute of RAS" />
		</ant>
	</target>
</project>
