]> granicus.if.org Git - apache/blob - docs/manual/style/lang-targets.xml
XML update.
[apache] / docs / manual / style / lang-targets.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4  Licensed to the Apache Software Foundation (ASF) under one or more
5  contributor license agreements.  See the NOTICE file distributed with
6  this work for additional information regarding copyright ownership.
7  The ASF licenses this file to You under the Apache License, Version 2.0
8  (the "License"); you may not use this file except in compliance with
9  the License.  You may obtain a copy of the License at
10
11      http://www.apache.org/licenses/LICENSE-2.0
12
13  Unless required by applicable law or agreed to in writing, software
14  distributed under the License is distributed on an "AS IS" BASIS,
15  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  See the License for the specific language governing permissions and
17  limitations under the License.
18 -->
19
20 <!-- this file contains language specific targets and will be included    -->
21 <!-- into build.xml. IT IS AUTOGENERATED. DO NOT TOUCH!                   -->
22 <!-- ==================================================================== -->
23 <project name="lang-targets">
24
25 <target name="check-man"><if><not><available type="dir" file="../../man"/></not><then><property value="yes" name="skip-man"/></then></if></target>
26 <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"/>
27 <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"/>
28 <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"/>
29
30 <!-- Dansk                                                                -->
31 <!-- ==================================================================== -->
32 <property value=".xml.da" name="inputext.da"/>
33 <property value=".html.da" name="outputext.da"/>
34
35 <target description="- builds Dansk HTML files" name="da">
36     <html.generic lang="da"/>
37 </target>
38 <target unless="-off.da.done" depends="metafiles" name="-off-da">
39     <dependencies.offline dir="_off" style="zip" lang="da"/>
40     <offline.generic dir="_off" style="zip" lang="da"/>
41     <property value="yes" name="-off.da.done"/>
42 </target>
43 <target description="- builds the Dansk zipped download package" depends="-off-da" name="zip-da">
44     <zip.generic lang="da"/>
45 </target>
46 <target description="- builds the Dansk Konqueror Web Archive" depends="-off-da" name="war-da">
47     <war.generic lang="da"/>
48 </target>
49 <target description="- builds the Dansk nroff files" unless="skip-man" depends="check-man" name="man-da">
50     <nroff.generic lang="da"/>
51 </target>
52
53 <!-- German                                                               -->
54 <!-- ==================================================================== -->
55 <property value=".xml.de" name="inputext.de"/>
56 <property value=".html.de" name="outputext.de"/>
57
58 <target description="- builds German HTML files" name="de">
59     <html.generic lang="de"/>
60 </target>
61 <target unless="-off.de.done" depends="metafiles" name="-off-de">
62     <dependencies.offline dir="_off" style="zip" lang="de"/>
63     <offline.generic dir="_off" style="zip" lang="de"/>
64     <property value="yes" name="-off.de.done"/>
65 </target>
66 <target description="- builds the German zipped download package" depends="-off-de" name="zip-de">
67     <zip.generic lang="de"/>
68 </target>
69 <target description="- builds the German Konqueror Web Archive" depends="-off-de" name="war-de">
70     <war.generic lang="de"/>
71 </target>
72 <target description="- builds the German CHM file" name="chm-de">
73     <chm.generic lang="de"/>
74 </target>
75
76 <!-- English                                                              -->
77 <!-- ==================================================================== -->
78 <property value=".xml" name="inputext.en"/>
79 <property value=".html.en" name="outputext.en"/>
80
81 <target description="- builds English HTML files" name="en">
82     <html.generic lang="en"/>
83     <runtarget target="man-en"/>
84 </target>
85 <target unless="-off.en.done" depends="metafiles" name="-off-en">
86     <dependencies.offline dir="_off" style="zip" lang="en"/>
87     <offline.generic dir="_off" style="zip" lang="en"/>
88     <property value="yes" name="-off.en.done"/>
89 </target>
90 <target description="- builds the English zipped download package" depends="-off-en" name="zip-en">
91     <zip.generic lang="en"/>
92 </target>
93 <target description="- builds the English Konqueror Web Archive" depends="-off-en" name="war-en">
94     <war.generic lang="en"/>
95 </target>
96 <target description="- builds the English CHM file" name="chm-en">
97     <chm.generic lang="en"/>
98 </target>
99 <target description="- builds the English nroff files" unless="skip-man" depends="check-man" name="man-en">
100     <nroff.generic lang="en"/>
101 </target>
102 <target description="- builds the English latex file" name="latex-en">
103     <latex.generic lang="en"/>
104 </target>
105
106 <!-- Spanish                                                              -->
107 <!-- ==================================================================== -->
108 <property value=".xml.es" name="inputext.es"/>
109 <property value=".html.es" name="outputext.es"/>
110
111 <target description="- builds Spanish HTML files" name="es">
112     <html.generic lang="es"/>
113 </target>
114 <target unless="-off.es.done" depends="metafiles" name="-off-es">
115     <dependencies.offline dir="_off" style="zip" lang="es"/>
116     <offline.generic dir="_off" style="zip" lang="es"/>
117     <property value="yes" name="-off.es.done"/>
118 </target>
119 <target description="- builds the Spanish zipped download package" depends="-off-es" name="zip-es">
120     <zip.generic lang="es"/>
121 </target>
122 <target description="- builds the Spanish Konqueror Web Archive" depends="-off-es" name="war-es">
123     <war.generic lang="es"/>
124 </target>
125 <target description="- builds the Spanish CHM file" name="chm-es">
126     <chm.generic lang="es"/>
127 </target>
128
129 <!-- French                                                               -->
130 <!-- ==================================================================== -->
131 <property value=".xml.fr" name="inputext.fr"/>
132 <property value=".html.fr" name="outputext.fr"/>
133
134 <target description="- builds French HTML files" name="fr">
135     <html.generic lang="fr"/>
136 </target>
137 <target unless="-off.fr.done" depends="metafiles" name="-off-fr">
138     <dependencies.offline dir="_off" style="zip" lang="fr"/>
139     <offline.generic dir="_off" style="zip" lang="fr"/>
140     <property value="yes" name="-off.fr.done"/>
141 </target>
142 <target description="- builds the French zipped download package" depends="-off-fr" name="zip-fr">
143     <zip.generic lang="fr"/>
144 </target>
145 <target description="- builds the French Konqueror Web Archive" depends="-off-fr" name="war-fr">
146     <war.generic lang="fr"/>
147 </target>
148 <target description="- builds the French CHM file" name="chm-fr">
149     <chm.generic lang="fr"/>
150 </target>
151
152 <!-- Japanese                                                             -->
153 <!-- ==================================================================== -->
154 <property value=".xml.ja" name="inputext.ja"/>
155 <property value=".html.ja.utf8" name="outputext.ja"/>
156
157 <target description="- builds Japanese HTML files" name="ja">
158     <html.generic lang="ja"/>
159 </target>
160 <target unless="-off.ja.done" depends="metafiles" name="-off-ja">
161     <dependencies.offline dir="_off" style="zip" lang="ja"/>
162     <offline.generic dir="_off" style="zip" lang="ja"/>
163     <property value="yes" name="-off.ja.done"/>
164 </target>
165 <target description="- builds the Japanese zipped download package" depends="-off-ja" name="zip-ja">
166     <zip.generic lang="ja"/>
167 </target>
168 <target description="- builds the Japanese Konqueror Web Archive" depends="-off-ja" name="war-ja">
169     <war.generic lang="ja"/>
170 </target>
171 <target description="- builds the Japanese CHM file" name="chm-ja">
172     <chm.generic lang="ja"/>
173 </target>
174
175 <!-- Korean                                                               -->
176 <!-- ==================================================================== -->
177 <property value=".xml.ko" name="inputext.ko"/>
178 <property value=".html.ko.euc-kr" name="outputext.ko"/>
179
180 <target description="- builds Korean HTML files" name="ko">
181     <html.generic lang="ko"/>
182 </target>
183 <target unless="-off.ko.done" depends="metafiles" name="-off-ko">
184     <dependencies.offline dir="_off" style="zip" lang="ko"/>
185     <offline.generic dir="_off" style="zip" lang="ko"/>
186     <property value="yes" name="-off.ko.done"/>
187 </target>
188 <target description="- builds the Korean zipped download package" depends="-off-ko" name="zip-ko">
189     <zip.generic lang="ko"/>
190 </target>
191 <target description="- builds the Korean Konqueror Web Archive" depends="-off-ko" name="war-ko">
192     <war.generic lang="ko"/>
193 </target>
194 <target description="- builds the Korean CHM file" name="chm-ko">
195     <chm.generic lang="ko"/>
196 </target>
197
198 <!-- Portuguese                                                           -->
199 <!-- ==================================================================== -->
200 <property value=".xml.pt-br" name="inputext.pt-br"/>
201 <property value=".html.pt-br" name="outputext.pt-br"/>
202
203 <target description="- builds Portuguese HTML files" name="pt-br">
204     <html.generic lang="pt-br"/>
205 </target>
206 <target unless="-off.pt-br.done" depends="metafiles" name="-off-pt-br">
207     <dependencies.offline dir="_off" style="zip" lang="pt-br"/>
208     <offline.generic dir="_off" style="zip" lang="pt-br"/>
209     <property value="yes" name="-off.pt-br.done"/>
210 </target>
211 <target description="- builds the Portuguese zipped download package" depends="-off-pt-br" name="zip-pt-br">
212     <zip.generic lang="pt-br"/>
213 </target>
214 <target description="- builds the Portuguese Konqueror Web Archive" depends="-off-pt-br" name="war-pt-br">
215     <war.generic lang="pt-br"/>
216 </target>
217
218 <!-- Russian                                                              -->
219 <!-- ==================================================================== -->
220 <property value=".xml.ru" name="inputext.ru"/>
221 <property value=".html.ru.koi8-r" name="outputext.ru"/>
222
223 <target description="- builds Russian HTML files" name="ru">
224     <html.generic lang="ru"/>
225 </target>
226 <target unless="-off.ru.done" depends="metafiles" name="-off-ru">
227     <dependencies.offline dir="_off" style="zip" lang="ru"/>
228     <offline.generic dir="_off" style="zip" lang="ru"/>
229     <property value="yes" name="-off.ru.done"/>
230 </target>
231 <target description="- builds the Russian zipped download package" depends="-off-ru" name="zip-ru">
232     <zip.generic lang="ru"/>
233 </target>
234 <target description="- builds the Russian Konqueror Web Archive" depends="-off-ru" name="war-ru">
235     <war.generic lang="ru"/>
236 </target>
237
238 <!-- Turkish                                                              -->
239 <!-- ==================================================================== -->
240 <property value=".xml.tr" name="inputext.tr"/>
241 <property value=".html.tr.utf8" name="outputext.tr"/>
242
243 <target description="- builds Turkish HTML files" name="tr">
244     <html.generic lang="tr"/>
245 </target>
246 <target unless="-off.tr.done" depends="metafiles" name="-off-tr">
247     <dependencies.offline dir="_off" style="zip" lang="tr"/>
248     <offline.generic dir="_off" style="zip" lang="tr"/>
249     <property value="yes" name="-off.tr.done"/>
250 </target>
251 <target description="- builds the Turkish zipped download package" depends="-off-tr" name="zip-tr">
252     <zip.generic lang="tr"/>
253 </target>
254 <target description="- builds the Turkish Konqueror Web Archive" depends="-off-tr" name="war-tr">
255     <war.generic lang="tr"/>
256 </target>
257 <target description="- builds the Turkish CHM file" name="chm-tr">
258     <chm.generic lang="tr"/>
259 </target>
260 <target description="- builds the Turkish nroff files" unless="skip-man" depends="check-man" name="man-tr">
261     <nroff.generic lang="tr"/>
262 </target>
263
264 <!-- Simplified Chinese                                                   -->
265 <!-- ==================================================================== -->
266 <property value=".xml.zh-cn" name="inputext.zh-cn"/>
267 <property value=".html.zh-cn.utf8" name="outputext.zh-cn"/>
268
269 <target description="- builds Simplified Chinese HTML files" name="zh-cn">
270     <html.generic lang="zh-cn"/>
271 </target>
272 <target unless="-off.zh-cn.done" depends="metafiles" name="-off-zh-cn">
273     <dependencies.offline dir="_off" style="zip" lang="zh-cn"/>
274     <offline.generic dir="_off" style="zip" lang="zh-cn"/>
275     <property value="yes" name="-off.zh-cn.done"/>
276 </target>
277 <target description="- builds the Simplified Chinese zipped download package" depends="-off-zh-cn" name="zip-zh-cn">
278     <zip.generic lang="zh-cn"/>
279 </target>
280 <target description="- builds the Simplified Chinese Konqueror Web Archive" depends="-off-zh-cn" name="war-zh-cn">
281     <war.generic lang="zh-cn"/>
282 </target>
283 <target description="- builds the Simplified Chinese CHM file" name="chm-zh-cn">
284     <chm.generic lang="zh-cn"/>
285 </target>
286 <target description="- builds the Simplified Chinese nroff files" unless="skip-man" depends="check-man" name="man-zh-cn">
287     <nroff.generic lang="zh-cn"/>
288 </target>
289
290 <!-- XML validation.                                                      -->
291 <!-- If you get an error during transformation, this task may be useful   -->
292 <!-- because it mostly gives you a hint, where you forgot the </p> ;-)    -->
293 <!-- ==================================================================== -->
294 <target description="- validates all XML source files" name="validate-xml">
295     <xmlvalidate warn="true" failonerror="true" lenient="false">
296         <xmlcatalog refid="w3c-catalog"/>
297         <fileset dir="../">
298             <include name="**/*.xml.da"/>
299             <include name="**/*.xml.de"/>
300             <include name="**/*.xml"/>
301             <include name="**/*.xml.es"/>
302             <include name="**/*.xml.fr"/>
303             <include name="**/*.xml.ja"/>
304             <include name="**/*.xml.ko"/>
305             <include name="**/*.xml.pt-br"/>
306             <include name="**/*.xml.ru"/>
307             <include name="**/*.xml.tr"/>
308             <include name="**/*.xml.zh-cn"/>
309
310             <patternset refid="excludes"/>
311             <patternset refid="scratch"/>
312         </fileset>
313     </xmlvalidate>
314 </target>
315
316 </project>