Skip to content

Commit a55412e

Browse files
author
dlsmith
committed
Removed dependencies on docbook2pdf from main build path
git-svn-id: file:///tmp/test-svn/trunk@3481 fe72c1cf-3628-48e9-8b72-1c46755d3cff
1 parent 7d73f91 commit a55412e

File tree

1 file changed

+27
-20
lines changed

1 file changed

+27
-20
lines changed

docs/build.xml

Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -126,55 +126,62 @@
126126
Build Target
127127
************ -->
128128

129-
<target name="build" depends="doc, jar"
130-
description="Shortcut for 'doc jar'">
129+
<target name="build" depends="doc-html, jar"
130+
description="Shortcut for 'doc-html jar'">
131131
</target>
132132

133133

134134
<!-- *********************
135135
Documentation Targets
136136
********************* -->
137137

138-
<target name="doc" depends="doc-user, doc-developer, doc-quickstart"
139-
description="Generate all documentation">
138+
<target name="doc" depends="doc-html doc-pdf"
139+
description="Shortcut for 'doc-html doc-pdf'">
140140
</target>
141141

142-
<target name="doc-user">
142+
143+
<target name="doc-html" description="Generate all html documentation">
143144
<echo message="Creating user documentation" />
144145
<antcall target="run-docbook2html" inheritall="false">
145146
<param name="docbook-dir" value="user" />
146147
<param name="docbook-srcfile" value="userdoc.docbook" />
147148
</antcall>
148-
<antcall target="run-docbook2pdf" inheritall="false">
149-
<param name="docbook-dir" value="user" />
150-
<param name="docbook-srcfile" value="userdoc.docbook" />
151-
</antcall>
152-
</target>
153-
154-
<target name="doc-quickstart">
149+
155150
<echo message="Creating quickstart documentation" />
156151
<antcall target="run-docbook2html" inheritall="false">
157152
<param name="docbook-dir" value="quickstart" />
158153
<param name="docbook-srcfile" value="quickstart.docbook" />
159154
</antcall>
160-
<antcall target="run-docbook2pdf" inheritall="false">
161-
<param name="docbook-dir" value="quickstart" />
162-
<param name="docbook-srcfile" value="quickstart.docbook" />
163-
</antcall>
164-
</target>
165155

166-
<target name="doc-developer">
167156
<echo message="Creating developer documentation" />
168157
<antcall target="run-docbook2html" inheritall="false">
169158
<param name="docbook-dir" value="developer" />
170159
<param name="docbook-srcfile" value="devdoc.docbook" />
171160
</antcall>
161+
</target>
162+
163+
164+
<target name="doc-pdf" description="Generate all pdf documentation">
165+
<echo message="Creating user documentation" />
166+
<antcall target="run-docbook2pdf" inheritall="false">
167+
<param name="docbook-dir" value="user" />
168+
<param name="docbook-srcfile" value="userdoc.docbook" />
169+
</antcall>
170+
171+
<echo message="Creating quickstart documentation" />
172+
<antcall target="run-docbook2pdf" inheritall="false">
173+
<param name="docbook-dir" value="quickstart" />
174+
<param name="docbook-srcfile" value="quickstart.docbook" />
175+
</antcall>
176+
177+
<echo message="Creating developer documentation" />
172178
<antcall target="run-docbook2pdf" inheritall="false">
173179
<param name="docbook-dir" value="developer" />
174180
<param name="docbook-srcfile" value="devdoc.docbook" />
175181
</antcall>
176182
</target>
177183

184+
178185
<target name="run-docbook2html" depends="assert-docbook2html-present">
179186
<mkdir dir="docs/${docbook-dir}" />
180187
<apply executable="docbook2html" failonerror="yes" type="file">
@@ -212,8 +219,8 @@
212219
Jar Targets
213220
*********** -->
214221

215-
<target name="jar" depends="doc, resolve-version-tag"
216-
description="Create the jar file with all docs (generating docs first)">
222+
<target name="jar" depends="doc-html, resolve-version-tag"
223+
description="Create the jar file with distributed docs (generating html docs first)">
217224
<jar jarfile="${jar-filename}">
218225
<manifest>
219226
<attribute name="Built-By" value="${user.name}" />

0 commit comments

Comments
 (0)