summaryrefslogtreecommitdiffstats
path: root/docs/manual/style/lang-targets.xml
blob: 80c09b7bbc820ed8e90bf919e31aca92134af9b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
<?xml version="1.0" encoding="utf-8"?>

<!--
 Licensed to the Apache Software Foundation (ASF) under one or more
 contributor license agreements.  See the NOTICE file distributed with
 this work for additional information regarding copyright ownership.
 The ASF licenses this file to You under the Apache License, Version 2.0
 (the "License"); you may not use this file except in compliance with
 the License.  You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->

<!-- this file contains language specific targets and will be included    -->
<!-- into build.xml. IT IS AUTOGENERATED. DO NOT TOUCH!                   -->
<!-- ==================================================================== -->
<project name="lang-targets">

<target name="check-man"><if><not><available type="dir" file="../../man"/></not><then><property value="yes" name="skip-man"/></then></if></target>
<target description="- builds all HTML files and nroff man pages" name="all" depends="da, de, en, es, fr, ja, ko, pt-br, ru, tr, zh-cn"/>
<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"/>
<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"/>

<!-- Dansk                                                                -->
<!-- ==================================================================== -->
<property value=".xml.da" name="inputext.da"/>
<property value=".html.da" name="outputext.da"/>

<target description="- builds Dansk HTML files" name="da">
    <html.generic lang="da"/>
</target>
<target unless="-off.da.done" depends="metafiles" name="-off-da">
    <dependencies.offline dir="_off" style="zip" lang="da"/>
    <offline.generic dir="_off" style="zip" lang="da"/>
    <property value="yes" name="-off.da.done"/>
</target>
<target description="- builds the Dansk zipped download package" depends="-off-da" name="zip-da">
    <zip.generic lang="da"/>
</target>
<target description="- builds the Dansk Konqueror Web Archive" depends="-off-da" name="war-da">
    <war.generic lang="da"/>
</target>
<target description="- builds the Dansk CHM file" name="chm-da">
    <chm.generic lang="da"/>
</target>
<target description="- builds the Dansk nroff files" unless="skip-man" depends="check-man" name="man-da">
    <nroff.generic lang="da"/>
</target>

<!-- German                                                               -->
<!-- ==================================================================== -->
<property value=".xml.de" name="inputext.de"/>
<property value=".html.de" name="outputext.de"/>

<target description="- builds German HTML files" name="de">
    <html.generic lang="de"/>
</target>
<target unless="-off.de.done" depends="metafiles" name="-off-de">
    <dependencies.offline dir="_off" style="zip" lang="de"/>
    <offline.generic dir="_off" style="zip" lang="de"/>
    <property value="yes" name="-off.de.done"/>
</target>
<target description="- builds the German zipped download package" depends="-off-de" name="zip-de">
    <zip.generic lang="de"/>
</target>
<target description="- builds the German Konqueror Web Archive" depends="-off-de" name="war-de">
    <war.generic lang="de"/>
</target>
<target description="- builds the German CHM file" name="chm-de">
    <chm.generic lang="de"/>
</target>

<!-- English                                                              -->
<!-- ==================================================================== -->
<property value=".xml" name="inputext.en"/>
<property value=".html.en" name="outputext.en"/>

<target description="- builds English HTML files" name="en">
    <html.generic lang="en"/>
    <runtarget target="man-en"/>
</target>
<target unless="-off.en.done" depends="metafiles" name="-off-en">
    <dependencies.offline dir="_off" style="zip" lang="en"/>
    <offline.generic dir="_off" style="zip" lang="en"/>
    <property value="yes" name="-off.en.done"/>
</target>
<target description="- builds the English zipped download package" depends="-off-en" name="zip-en">
    <zip.generic lang="en"/>
</target>
<target description="- builds the English Konqueror Web Archive" depends="-off-en" name="war-en">
    <war.generic lang="en"/>
</target>
<target description="- builds the English CHM file" name="chm-en">
    <chm.generic lang="en"/>
</target>
<target description="- builds the English nroff files" unless="skip-man" depends="check-man" name="man-en">
    <nroff.generic lang="en"/>
</target>
<target description="- builds the English latex file" name="latex-en">
    <latex.generic lang="en"/>
</target>

<!-- Spanish                                                              -->
<!-- ==================================================================== -->
<property value=".xml.es" name="inputext.es"/>
<property value=".html.es" name="outputext.es"/>

<target description="- builds Spanish HTML files" name="es">
    <html.generic lang="es"/>
</target>
<target unless="-off.es.done" depends="metafiles" name="-off-es">
    <dependencies.offline dir="_off" style="zip" lang="es"/>
    <offline.generic dir="_off" style="zip" lang="es"/>
    <property value="yes" name="-off.es.done"/>
</target>
<target description="- builds the Spanish zipped download package" depends="-off-es" name="zip-es">
    <zip.generic lang="es"/>
</target>
<target description="- builds the Spanish Konqueror Web Archive" depends="-off-es" name="war-es">
    <war.generic lang="es"/>
</target>
<target description="- builds the Spanish CHM file" name="chm-es">
    <chm.generic lang="es"/>
</target>

<!-- French                                                               -->
<!-- ==================================================================== -->
<property value=".xml.fr" name="inputext.fr"/>
<property value=".html.fr" name="outputext.fr"/>

<target description="- builds French HTML files" name="fr">
    <html.generic lang="fr"/>
</target>
<target unless="-off.fr.done" depends="metafiles" name="-off-fr">
    <dependencies.offline dir="_off" style="zip" lang="fr"/>
    <offline.generic dir="_off" style="zip" lang="fr"/>
    <property value="yes" name="-off.fr.done"/>
</target>
<target description="- builds the French zipped download package" depends="-off-fr" name="zip-fr">
    <zip.generic lang="fr"/>
</target>
<target description="- builds the French Konqueror Web Archive" depends="-off-fr" name="war-fr">
    <war.generic lang="fr"/>
</target>

<!-- Japanese                                                             -->
<!-- ==================================================================== -->
<property value=".xml.ja" name="inputext.ja"/>
<property value=".html.ja.utf8" name="outputext.ja"/>

<target description="- builds Japanese HTML files" name="ja">
    <html.generic lang="ja"/>
</target>
<target unless="-off.ja.done" depends="metafiles" name="-off-ja">
    <dependencies.offline dir="_off" style="zip" lang="ja"/>
    <offline.generic dir="_off" style="zip" lang="ja"/>
    <property value="yes" name="-off.ja.done"/>
</target>
<target description="- builds the Japanese zipped download package" depends="-off-ja" name="zip-ja">
    <zip.generic lang="ja"/>
</target>
<target description="- builds the Japanese Konqueror Web Archive" depends="-off-ja" name="war-ja">
    <war.generic lang="ja"/>
</target>
<target description="- builds the Japanese CHM file" name="chm-ja">
    <chm.generic lang="ja"/>
</target>

<!-- Korean                                                               -->
<!-- ==================================================================== -->
<property value=".xml.ko" name="inputext.ko"/>
<property value=".html.ko.euc-kr" name="outputext.ko"/>

<target description="- builds Korean HTML files" name="ko">
    <html.generic lang="ko"/>
</target>
<target unless="-off.ko.done" depends="metafiles" name="-off-ko">
    <dependencies.offline dir="_off" style="zip" lang="ko"/>
    <offline.generic dir="_off" style="zip" lang="ko"/>
    <property value="yes" name="-off.ko.done"/>
</target>
<target description="- builds the Korean zipped download package" depends="-off-ko" name="zip-ko">
    <zip.generic lang="ko"/>
</target>
<target description="- builds the Korean Konqueror Web Archive" depends="-off-ko" name="war-ko">
    <war.generic lang="ko"/>
</target>
<target description="- builds the Korean CHM file" name="chm-ko">
    <chm.generic lang="ko"/>
</target>

<!-- Portuguese                                                           -->
<!-- ==================================================================== -->
<property value=".xml.pt-br" name="inputext.pt-br"/>
<property value=".html.pt-br" name="outputext.pt-br"/>

<target description="- builds Portuguese HTML files" name="pt-br">
    <html.generic lang="pt-br"/>
</target>
<target unless="-off.pt-br.done" depends="metafiles" name="-off-pt-br">
    <dependencies.offline dir="_off" style="zip" lang="pt-br"/>
    <offline.generic dir="_off" style="zip" lang="pt-br"/>
    <property value="yes" name="-off.pt-br.done"/>
</target>
<target description="- builds the Portuguese zipped download package" depends="-off-pt-br" name="zip-pt-br">
    <zip.generic lang="pt-br"/>
</target>
<target description="- builds the Portuguese Konqueror Web Archive" depends="-off-pt-br" name="war-pt-br">
    <war.generic lang="pt-br"/>
</target>

<!-- Russian                                                              -->
<!-- ==================================================================== -->
<property value=".xml.ru" name="inputext.ru"/>
<property value=".html.ru.koi8-r" name="outputext.ru"/>

<target description="- builds Russian HTML files" name="ru">
    <html.generic lang="ru"/>
</target>
<target unless="-off.ru.done" depends="metafiles" name="-off-ru">
    <dependencies.offline dir="_off" style="zip" lang="ru"/>
    <offline.generic dir="_off" style="zip" lang="ru"/>
    <property value="yes" name="-off.ru.done"/>
</target>
<target description="- builds the Russian zipped download package" depends="-off-ru" name="zip-ru">
    <zip.generic lang="ru"/>
</target>
<target description="- builds the Russian Konqueror Web Archive" depends="-off-ru" name="war-ru">
    <war.generic lang="ru"/>
</target>

<!-- Turkish                                                              -->
<!-- ==================================================================== -->
<property value=".xml.tr" name="inputext.tr"/>
<property value=".html.tr.utf8" name="outputext.tr"/>

<target description="- builds Turkish HTML files" name="tr">
    <html.generic lang="tr"/>
</target>
<target unless="-off.tr.done" depends="metafiles" name="-off-tr">
    <dependencies.offline dir="_off" style="zip" lang="tr"/>
    <offline.generic dir="_off" style="zip" lang="tr"/>
    <property value="yes" name="-off.tr.done"/>
</target>
<target description="- builds the Turkish zipped download package" depends="-off-tr" name="zip-tr">
    <zip.generic lang="tr"/>
</target>
<target description="- builds the Turkish Konqueror Web Archive" depends="-off-tr" name="war-tr">
    <war.generic lang="tr"/>
</target>
<target description="- builds the Turkish CHM file" name="chm-tr">
    <chm.generic lang="tr"/>
</target>
<target description="- builds the Turkish nroff files" unless="skip-man" depends="check-man" name="man-tr">
    <nroff.generic lang="tr"/>
</target>

<!-- Simplified Chinese                                                   -->
<!-- ==================================================================== -->
<property value=".xml.zh-cn" name="inputext.zh-cn"/>
<property value=".html.zh-cn" name="outputext.zh-cn"/>

<target description="- builds Simplified Chinese HTML files" name="zh-cn">
    <html.generic lang="zh-cn"/>
</target>
<target unless="-off.zh-cn.done" depends="metafiles" name="-off-zh-cn">
    <dependencies.offline dir="_off" style="zip" lang="zh-cn"/>
    <offline.generic dir="_off" style="zip" lang="zh-cn"/>
    <property value="yes" name="-off.zh-cn.done"/>
</target>
<target description="- builds the Simplified Chinese zipped download package" depends="-off-zh-cn" name="zip-zh-cn">
    <zip.generic lang="zh-cn"/>
</target>
<target description="- builds the Simplified Chinese Konqueror Web Archive" depends="-off-zh-cn" name="war-zh-cn">
    <war.generic lang="zh-cn"/>
</target>
<target description="- builds the Simplified Chinese CHM file" name="chm-zh-cn">
    <chm.generic lang="zh-cn"/>
</target>
<target description="- builds the Simplified Chinese nroff files" unless="skip-man" depends="check-man" name="man-zh-cn">
    <nroff.generic lang="zh-cn"/>
</target>

<!-- XML validation.                                                      -->
<!-- If you get an error during transformation, this task may be useful   -->
<!-- because it mostly gives you a hint, where you forgot the </p> ;-)    -->
<!-- ==================================================================== -->
<target description="- validates all XML source files" name="validate-xml">
    <xmlvalidate warn="true" failonerror="false" lenient="false">
        <xmlcatalog refid="w3c-catalog"/>
        <fileset dir="../">
            <include name="**/*.xml.da"/>
            <include name="**/*.xml.de"/>
            <include name="**/*.xml"/>
            <include name="**/*.xml.es"/>
            <include name="**/*.xml.fr"/>
            <include name="**/*.xml.ja"/>
            <include name="**/*.xml.ko"/>
            <include name="**/*.xml.pt-br"/>
            <include name="**/*.xml.ru"/>
            <include name="**/*.xml.tr"/>
            <include name="**/*.xml.zh-cn"/>

            <patternset refid="excludes"/>
            <patternset refid="scratch"/>
        </fileset>
    </xmlvalidate>
</target>

</project>