build-chm-pdf-hybrid.xml 952 B

1234567891011121314151617181920
  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. <property name="absolute.path.base" location="../"/>
  12. <dita-cmd input="${absolute.path.base}/sequence.ditamap" format="htmlhelp"
  13. propertyfile="${absolute.path.base}/properties/chm.properties"/>
  14. <dita-cmd input="${absolute.path.base}/taskbook.ditamap" format="pdf"
  15. propertyfile="${absolute.path.base}/properties/pdf.properties"/>
  16. </target>
  17. <target name="post">
  18. <description>Postprocessing steps</description>
  19. </target>
  20. </project>