sample_xhtml.xml 995 B

12345678910111213141516171819202122232425
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!--This file is part of the DITA Open Toolkit project. See the accompanying LICENSE.md file for applicable licenses.-->
  3. <project name="sample_xhtml" default="samples.web" basedir=".">
  4. <property name="dita.dir" location="${basedir}/../../.."/>
  5. <target name="samples.web" description="build the samples for the web" depends="clean.samples.web">
  6. <ant antfile="${dita.dir}/build.xml">
  7. <property name="args.input" location="${dita.dir}/samples/hierarchy.ditamap"/>
  8. <property name="output.dir" location="${dita.dir}/out/samples/web"/>
  9. <property name="args.xhtml.toc" value="toc"/>
  10. <property name="transtype" value="xhtml"/>
  11. </ant>
  12. <copy todir="${dita.dir}/out/samples/web">
  13. <fileset dir="${dita.dir}/resource" includes="index.html"/>
  14. </copy>
  15. </target>
  16. <target name="clean.samples.web" description="remove the sample web output">
  17. <delete dir="${dita.dir}/out/samples/web"/>
  18. </target>
  19. </project>