1 <?xml version="1.0" encoding="utf-8"?>
3 Licensed to the Apache Software Foundation (ASF) under one or more
4 contributor license agreements. See the NOTICE file distributed with
5 this work for additional information regarding copyright ownership.
6 The ASF licenses this file to You under the Apache License, Version 2.0
7 (the "License"); you may not use this file except in compliance with
8 the License. You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
19 <!-- this file contains language specific targets and will be included -->
20 <!-- into build.xml. IT IS AUTOGENERATED. DO NOT TOUCH! -->
21 <!-- ==================================================================== -->
22 <project name="lang-targets">
24 <target name="check-man"><if><not><available type="dir" file="../../man"/></not><then><property value="yes" name="skip-man"/></then></if></target>
25 <target description="- builds all HTML files and nroff man pages" name="all" depends="validate-xml, da, de, en, es, fr, ja, ko, pt-br, ru, tr, zh-cn"/>
26 <target description="- builds all zip download packages" name="zip-all" depends="zip-da, zip-de, zip-en, zip-es, zip-fr, zip-ja, zip-ko, zip-pt-br, zip-ru, zip-tr, zip-zh-cn"/>
27 <target description="- builds all war download packages" name="war-all" depends="war-da, war-de, war-en, war-es, war-fr, war-ja, war-ko, war-pt-br, war-ru, war-tr, war-zh-cn"/>
30 <!-- ==================================================================== -->
31 <property value=".xml.da" name="inputext.da"/>
32 <property value=".html.da" name="outputext.da"/>
34 <target description="- builds Dansk HTML files" name="da">
35 <html.generic lang="da"/>
37 <target unless="-off.da.done" depends="metafiles" name="-off-da">
38 <dependencies.offline dir="_off" style="zip" lang="da"/>
39 <offline.generic dir="_off" style="zip" lang="da"/>
40 <property value="yes" name="-off.da.done"/>
42 <target description="- builds the Dansk zipped download package" depends="-off-da" name="zip-da">
43 <zip.generic lang="da"/>
45 <target description="- builds the Dansk Konqueror Web Archive" depends="-off-da" name="war-da">
46 <war.generic lang="da"/>
48 <target description="- builds the Dansk nroff files" unless="skip-man" depends="check-man" name="man-da">
49 <nroff.generic lang="da"/>
53 <!-- ==================================================================== -->
54 <property value=".xml.de" name="inputext.de"/>
55 <property value=".html.de" name="outputext.de"/>
57 <target description="- builds German HTML files" name="de">
58 <html.generic lang="de"/>
60 <target unless="-off.de.done" depends="metafiles" name="-off-de">
61 <dependencies.offline dir="_off" style="zip" lang="de"/>
62 <offline.generic dir="_off" style="zip" lang="de"/>
63 <property value="yes" name="-off.de.done"/>
65 <target description="- builds the German zipped download package" depends="-off-de" name="zip-de">
66 <zip.generic lang="de"/>
68 <target description="- builds the German Konqueror Web Archive" depends="-off-de" name="war-de">
69 <war.generic lang="de"/>
71 <target description="- builds the German CHM file" name="chm-de">
72 <chm.generic lang="de"/>
76 <!-- ==================================================================== -->
77 <property value=".xml" name="inputext.en"/>
78 <property value=".html.en" name="outputext.en"/>
80 <target description="- builds English HTML files" name="en">
81 <html.generic lang="en"/>
82 <runtarget target="man-en"/>
84 <target unless="-off.en.done" depends="metafiles" name="-off-en">
85 <dependencies.offline dir="_off" style="zip" lang="en"/>
86 <offline.generic dir="_off" style="zip" lang="en"/>
87 <property value="yes" name="-off.en.done"/>
89 <target description="- builds the English zipped download package" depends="-off-en" name="zip-en">
90 <zip.generic lang="en"/>
92 <target description="- builds the English Konqueror Web Archive" depends="-off-en" name="war-en">
93 <war.generic lang="en"/>
95 <target description="- builds the English CHM file" name="chm-en">
96 <chm.generic lang="en"/>
98 <target description="- builds the English nroff files" unless="skip-man" depends="check-man" name="man-en">
99 <nroff.generic lang="en"/>
101 <target description="- builds the English latex file" name="latex-en">
102 <latex.generic lang="en"/>
106 <!-- ==================================================================== -->
107 <property value=".xml.es" name="inputext.es"/>
108 <property value=".html.es.utf8" name="outputext.es"/>
110 <target description="- builds Spanish HTML files" name="es">
111 <html.generic lang="es"/>
113 <target unless="-off.es.done" depends="metafiles" name="-off-es">
114 <dependencies.offline dir="_off" style="zip" lang="es"/>
115 <offline.generic dir="_off" style="zip" lang="es"/>
116 <property value="yes" name="-off.es.done"/>
118 <target description="- builds the Spanish zipped download package" depends="-off-es" name="zip-es">
119 <zip.generic lang="es"/>
121 <target description="- builds the Spanish Konqueror Web Archive" depends="-off-es" name="war-es">
122 <war.generic lang="es"/>
124 <target description="- builds the Spanish CHM file" name="chm-es">
125 <chm.generic lang="es"/>
129 <!-- ==================================================================== -->
130 <property value=".xml.fr" name="inputext.fr"/>
131 <property value=".html.fr.utf8" name="outputext.fr"/>
133 <target description="- builds French HTML files" name="fr">
134 <html.generic lang="fr"/>
136 <target unless="-off.fr.done" depends="metafiles" name="-off-fr">
137 <dependencies.offline dir="_off" style="zip" lang="fr"/>
138 <offline.generic dir="_off" style="zip" lang="fr"/>
139 <property value="yes" name="-off.fr.done"/>
141 <target description="- builds the French zipped download package" depends="-off-fr" name="zip-fr">
142 <zip.generic lang="fr"/>
144 <target description="- builds the French Konqueror Web Archive" depends="-off-fr" name="war-fr">
145 <war.generic lang="fr"/>
147 <target description="- builds the French CHM file" name="chm-fr">
148 <chm.generic lang="fr"/>
152 <!-- ==================================================================== -->
153 <property value=".xml.ja" name="inputext.ja"/>
154 <property value=".html.ja.utf8" name="outputext.ja"/>
156 <target description="- builds Japanese HTML files" name="ja">
157 <html.generic lang="ja"/>
159 <target unless="-off.ja.done" depends="metafiles" name="-off-ja">
160 <dependencies.offline dir="_off" style="zip" lang="ja"/>
161 <offline.generic dir="_off" style="zip" lang="ja"/>
162 <property value="yes" name="-off.ja.done"/>
164 <target description="- builds the Japanese zipped download package" depends="-off-ja" name="zip-ja">
165 <zip.generic lang="ja"/>
167 <target description="- builds the Japanese Konqueror Web Archive" depends="-off-ja" name="war-ja">
168 <war.generic lang="ja"/>
170 <target description="- builds the Japanese CHM file" name="chm-ja">
171 <chm.generic lang="ja"/>
175 <!-- ==================================================================== -->
176 <property value=".xml.ko" name="inputext.ko"/>
177 <property value=".html.ko.euc-kr" name="outputext.ko"/>
179 <target description="- builds Korean HTML files" name="ko">
180 <html.generic lang="ko"/>
182 <target unless="-off.ko.done" depends="metafiles" name="-off-ko">
183 <dependencies.offline dir="_off" style="zip" lang="ko"/>
184 <offline.generic dir="_off" style="zip" lang="ko"/>
185 <property value="yes" name="-off.ko.done"/>
187 <target description="- builds the Korean zipped download package" depends="-off-ko" name="zip-ko">
188 <zip.generic lang="ko"/>
190 <target description="- builds the Korean Konqueror Web Archive" depends="-off-ko" name="war-ko">
191 <war.generic lang="ko"/>
193 <target description="- builds the Korean CHM file" name="chm-ko">
194 <chm.generic lang="ko"/>
198 <!-- ==================================================================== -->
199 <property value=".xml.pt-br" name="inputext.pt-br"/>
200 <property value=".html.pt-br" name="outputext.pt-br"/>
202 <target description="- builds Portuguese HTML files" name="pt-br">
203 <html.generic lang="pt-br"/>
205 <target unless="-off.pt-br.done" depends="metafiles" name="-off-pt-br">
206 <dependencies.offline dir="_off" style="zip" lang="pt-br"/>
207 <offline.generic dir="_off" style="zip" lang="pt-br"/>
208 <property value="yes" name="-off.pt-br.done"/>
210 <target description="- builds the Portuguese zipped download package" depends="-off-pt-br" name="zip-pt-br">
211 <zip.generic lang="pt-br"/>
213 <target description="- builds the Portuguese Konqueror Web Archive" depends="-off-pt-br" name="war-pt-br">
214 <war.generic lang="pt-br"/>
218 <!-- ==================================================================== -->
219 <property value=".xml.ru" name="inputext.ru"/>
220 <property value=".html.ru.koi8-r" name="outputext.ru"/>
222 <target description="- builds Russian HTML files" name="ru">
223 <html.generic lang="ru"/>
225 <target unless="-off.ru.done" depends="metafiles" name="-off-ru">
226 <dependencies.offline dir="_off" style="zip" lang="ru"/>
227 <offline.generic dir="_off" style="zip" lang="ru"/>
228 <property value="yes" name="-off.ru.done"/>
230 <target description="- builds the Russian zipped download package" depends="-off-ru" name="zip-ru">
231 <zip.generic lang="ru"/>
233 <target description="- builds the Russian Konqueror Web Archive" depends="-off-ru" name="war-ru">
234 <war.generic lang="ru"/>
238 <!-- ==================================================================== -->
239 <property value=".xml.tr" name="inputext.tr"/>
240 <property value=".html.tr.utf8" name="outputext.tr"/>
242 <target description="- builds Turkish HTML files" name="tr">
243 <html.generic lang="tr"/>
245 <target unless="-off.tr.done" depends="metafiles" name="-off-tr">
246 <dependencies.offline dir="_off" style="zip" lang="tr"/>
247 <offline.generic dir="_off" style="zip" lang="tr"/>
248 <property value="yes" name="-off.tr.done"/>
250 <target description="- builds the Turkish zipped download package" depends="-off-tr" name="zip-tr">
251 <zip.generic lang="tr"/>
253 <target description="- builds the Turkish Konqueror Web Archive" depends="-off-tr" name="war-tr">
254 <war.generic lang="tr"/>
256 <target description="- builds the Turkish CHM file" name="chm-tr">
257 <chm.generic lang="tr"/>
259 <target description="- builds the Turkish nroff files" unless="skip-man" depends="check-man" name="man-tr">
260 <nroff.generic lang="tr"/>
263 <!-- Simplified Chinese -->
264 <!-- ==================================================================== -->
265 <property value=".xml.zh-cn" name="inputext.zh-cn"/>
266 <property value=".html.zh-cn.utf8" name="outputext.zh-cn"/>
268 <target description="- builds Simplified Chinese HTML files" name="zh-cn">
269 <html.generic lang="zh-cn"/>
271 <target unless="-off.zh-cn.done" depends="metafiles" name="-off-zh-cn">
272 <dependencies.offline dir="_off" style="zip" lang="zh-cn"/>
273 <offline.generic dir="_off" style="zip" lang="zh-cn"/>
274 <property value="yes" name="-off.zh-cn.done"/>
276 <target description="- builds the Simplified Chinese zipped download package" depends="-off-zh-cn" name="zip-zh-cn">
277 <zip.generic lang="zh-cn"/>
279 <target description="- builds the Simplified Chinese Konqueror Web Archive" depends="-off-zh-cn" name="war-zh-cn">
280 <war.generic lang="zh-cn"/>
282 <target description="- builds the Simplified Chinese CHM file" name="chm-zh-cn">
283 <chm.generic lang="zh-cn"/>
285 <target description="- builds the Simplified Chinese nroff files" unless="skip-man" depends="check-man" name="man-zh-cn">
286 <nroff.generic lang="zh-cn"/>
289 <!-- XML validation. -->
290 <!-- If you get an error during transformation, this task may be useful -->
291 <!-- because it mostly gives you a hint, where you forgot the </p> ;-) -->
292 <!-- ==================================================================== -->
293 <target description="- validates all XML source files" name="validate-xml">
294 <xmlvalidate warn="true" failonerror="true" lenient="false">
295 <xmlcatalog refid="w3c-catalog"/>
297 <include name="**/*.xml.da"/>
298 <include name="**/*.xml.de"/>
299 <include name="**/*.xml"/>
300 <include name="**/*.xml.es"/>
301 <include name="**/*.xml.fr"/>
302 <include name="**/*.xml.ja"/>
303 <include name="**/*.xml.ko"/>
304 <include name="**/*.xml.pt-br"/>
305 <include name="**/*.xml.ru"/>
306 <include name="**/*.xml.tr"/>
307 <include name="**/*.xml.zh-cn"/>
309 <patternset refid="excludes"/>
310 <patternset refid="scratch"/>