<?xml version="1.0" encoding="UTF-8"?>
<project name="DocBook XSLT 1.0 stylesheets - JavaHelp" default="all">

  <property name="dbroot.dir" value="${ant.file}/../.."/>
  <import file="../tools/build-shared.xml"/>

  <target name="all" depends="profile">
  </target>

  <target name="profile">
    <echo>Building profiling version of JavaHelp stylesheet...</echo>
    <xslt in="javahelp.xsl" out="profile-javahelp.xsl" style="../profiling/xsl2profile.xsl">
      <factory name="com.icl.saxon.TransformerFactoryImpl"/>
      <classpath refid="saxon.classpath"/>
    </xslt>
  </target>

  <target name="clean">
    <delete>
      <fileset dir=".">
	<include name="profile-javahelp.xsl"/>
      </fileset>
    </delete>
  </target>

</project>
