db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fuzzylo...@apache.org
Subject svn commit: r158499 - incubator/derby/docs/trunk/build.xml
Date Mon, 21 Mar 2005 18:21:45 GMT
Author: fuzzylogic
Date: Mon Mar 21 10:21:45 2005
New Revision: 158499

URL: http://svn.apache.org/viewcvs?view=rev&rev=158499
Log:
Add PDF targets to derby-docs build.xml

Modified:
    incubator/derby/docs/trunk/build.xml

Modified: incubator/derby/docs/trunk/build.xml
URL: http://svn.apache.org/viewcvs/incubator/derby/docs/trunk/build.xml?view=diff&r1=158498&r2=158499
==============================================================================
--- incubator/derby/docs/trunk/build.xml (original)
+++ incubator/derby/docs/trunk/build.xml Mon Mar 21 10:21:45 2005
@@ -4,7 +4,7 @@
 
   <property file="${basedir}/docs.properties"/>
 
-  <target name="html" depends="html.getstart,html.tools,html.devguide,html.adminguide,html.ref,html.tuning"/>
+  <target name="html" depends="init,html.getstart,html.tools,html.devguide,html.adminguide,html.ref,html.tuning"/>
 
   <target name="init" depends="check.regex.done,dita.regex">
     <copy todir="${basedir}/src/dtd">
@@ -80,4 +80,57 @@
     <touch file="${dita.script.dir}/regex.done"/>
   </target>
 
+  <target name="pdf" depends="init,pdf.getstart,pdf.tools,pdf.devguide,pdf.adminguide,pdf.ref,pdf.tuning"/>
+
+  <target name="pdf.getstart">
+    <antcall target="pdf.dita">
+      <param name="manual.name" value="getstart"/>
+      <param name="manual.ditamap" value="getstartderby.ditamap"/>
+    </antcall>
+  </target>
+
+  <target name="pdf.tools" depends="init">
+    <antcall target="pdf.dita">
+      <param name="manual.name" value="tools"/>
+      <param name="manual.ditamap" value="derbytools.ditamap"/>
+    </antcall>
+  </target>
+
+  <target name="pdf.adminguide" depends="init">
+    <antcall target="pdf.dita">
+      <param name="manual.name" value="adminguide"/>
+      <param name="manual.ditamap" value="derbyadmin.ditamap"/>
+    </antcall>
+  </target>
+
+  <target name="pdf.devguide" depends="init">
+    <antcall target="pdf.dita">
+      <param name="manual.name" value="devguide"/>
+      <param name="manual.ditamap" value="derbydev.ditamap"/>
+    </antcall>
+  </target>
+
+  <target name="pdf.ref" depends="init">
+    <antcall target="pdf.dita">
+      <param name="manual.name" value="ref"/>
+      <param name="manual.ditamap" value="refderby.ditamap"/>
+    </antcall>
+  </target>
+
+  <target name="pdf.tuning" depends="init">
+    <antcall target="pdf.dita">
+      <param name="manual.name" value="tuning"/>
+      <param name="manual.ditamap" value="tuningderby.ditamap"/>
+    </antcall>
+  </target>
+    
+  <target name="pdf.dita">
+    <mkdir dir="${dita.dir}/temp"/>
+    <mkdir dir="${basedir}/out/${manual.name}"/>
+    <ant dir="${dita.dir}" antfile="conductor.xml" target="dita2pdf" inheritAll="true">
+      <property name="args.input" value="${basedir}${file.separator}src${file.separator}${manual.name}${file.separator}${manual.ditamap}"/>
+      <property name="output.dir" value="${basedir}${file.separator}out${file.separator}${manual.name}"/>
+    </ant>
+  </target>
+    
 </project>



Mime
View raw message