Changeset 3244


Ignore:
Timestamp:
Apr 16, 2007, 11:58:17 AM (15 years ago)
Author:
Nicklas Nordborg
Message:

Made it possible to generate docbook html and pdf independently of each other. Use ant targets
doc.docbook.html and doc.docbook.pdf respectively.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r3237 r3244  
    10181018  <target
    10191019    name="doc.docbook"
    1020     depends="doc.init"
     1020    depends="doc.init,doc.docbook.html,doc.docbook.pdf"
    10211021    description="Generate docbook user and admin documentation."
     1022    >
     1023  </target>
     1024   
     1025  <target
     1026    name="doc.docbook.html"
     1027    depends="dev.init,doc.init"
    10221028    >
    10231029    <mkdir dir="${doc}/docbook/html" />
     
    10251031    <delete description="Delete existing documents">
    10261032      <fileset dir="${build}/docbook" defaultexcludes="no" />
    1027       <fileset dir="${doc}/docbook" defaultexcludes="no" />
     1033      <fileset dir="${doc}/docbook/html" defaultexcludes="no" />
    10281034    </delete>
    10291035    <ant antfile="${lib}/docbook/ant-build-docbook.xml" inheritall="false" target="html.chunked">
     
    10351041      <property name="base.version" value="${base.version}"/>
    10361042    </ant>
    1037    
     1043  </target>
     1044 
     1045  <target
     1046    name="doc.docbook.pdf"
     1047    depends="dev.init,doc.init"
     1048    >
    10381049    <!-- Generate a pdf file from the documentation source -->
     1050    <mkdir dir="${doc}/docbook" />
    10391051    <echo>Generate pdf file</echo>
    10401052    <ant antfile="${lib}/docbook/ant-build-docbook.xml" inheritall="false" target="pdf.fop">
     
    10651077  <target
    10661078    name="doc.helptext"
    1067     depends="doc.docbook, xsltprocessor"
     1079    depends="doc.docbook.html, xsltprocessor"
    10681080    description="Generate a import file with helptexts for the webclient"
    10691081    >   
Note: See TracChangeset for help on using the changeset viewer.