db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r1029722 - /db/derby/docs/trunk/build.xml
Date Mon, 01 Nov 2010 15:59:40 GMT
Author: rhillegas
Date: Mon Nov  1 15:59:40 2010
New Revision: 1029722

URL: http://svn.apache.org/viewvc?rev=1029722&view=rev
Log:
DERBY-4875: Preprocess sources for the developer's guide before the reference guide so that
cross-references will build correctly.

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

Modified: db/derby/docs/trunk/build.xml
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/build.xml?rev=1029722&r1=1029721&r2=1029722&view=diff
==============================================================================
--- db/derby/docs/trunk/build.xml (original)
+++ db/derby/docs/trunk/build.xml Mon Nov  1 15:59:40 2010
@@ -100,7 +100,8 @@ limitations under the License.
     </antcall>
   </target>
 
-  <target name="html.ref" depends="init">
+  <!-- the ref guide has cross-references to the dev guide, so the dev guide must be preprocessed
first -->
+  <target name="html.ref" depends="init,preprocess-devguide">
     <antcall target="html.dita">
       <param name="manual.name" value="ref"/>
       <param name="manual.ditamap" value="refderby.ditamap"/>
@@ -195,7 +196,8 @@ limitations under the License.
     </antcall>
   </target>
 
-  <target name="pdf.ref" depends="init">
+  <!-- the ref guide has cross-references to the dev guide, so the dev guide must be preprocessed
first -->
+  <target name="pdf.ref" depends="init,preprocess-devguide">
     <antcall target="pdf.dita">
       <param name="manual.name" value="ref"/>
       <param name="manual.ditamap" value="refderby.ditamap"/>
@@ -281,6 +283,13 @@ limitations under the License.
           style="${basedir}/lib/fo2html.xsl"/>
   </target>
 
+  <!-- Preprocess the devguide source, which the ref manual depends on -->
+  <target name="preprocess-devguide">
+    <antcall target="preprocess">
+      <param name="manual.name" value="devguide"/>
+    </antcall>
+  </target>
+
   <!-- Preprocess source, replacing ant variables with release-specific constants -->
   <target name="preprocess">
     <mkdir dir="${temp.source}"/>



Mime
View raw message