build-chm-pdf-hybrid.xml 799 B

12345678910111213141516171819202122232425
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <project name="build-chm-pdf-hybrid" default="all" basedir=".">
  3. <description>An Ant build that calls the dita command</description>
  4. <include file="dita-cmd.xml"/><!-- defines the <dita-cmd> macro -->
  5. <target name="all" depends="pre,main,post"/>
  6. <target name="pre">
  7. <description>Preprocessing steps</description>
  8. </target>
  9. <target name="main">
  10. <description>Build the CHM and PDF with the dita command</description>
  11. <dita-cmd input="../sequence.ditamap" format="htmlhelp" propertyfile="../properties/chm.properties"/>
  12. <dita-cmd input="../taskbook.ditamap" format="pdf" propertyfile="../properties/pdf.properties"/>
  13. </target>
  14. <target name="post">
  15. <description>Postprocessing steps</description>
  16. </target>
  17. </project>