]> granicus.if.org Git - apache/blob - docs/manual/style/lang-targets.xml
Xforms.
[apache] / docs / manual / style / lang-targets.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
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
9
10      http://www.apache.org/licenses/LICENSE-2.0
11
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.
17 -->
18
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">
23
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"/>
28
29 <!-- Dansk                                                                -->
30 <!-- ==================================================================== -->
31 <property value=".xml.da" name="inputext.da"/>
32 <property value=".html.da" name="outputext.da"/>
33
34 <target description="- builds Dansk HTML files" name="da">
35     <html.generic lang="da"/>
36 </target>
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"/>
41 </target>
42 <target description="- builds the Dansk zipped download package" depends="-off-da" name="zip-da">
43     <zip.generic lang="da"/>
44 </target>
45 <target description="- builds the Dansk Konqueror Web Archive" depends="-off-da" name="war-da">
46     <war.generic lang="da"/>
47 </target>
48 <target description="- builds the Dansk nroff files" unless="skip-man" depends="check-man" name="man-da">
49     <nroff.generic lang="da"/>
50 </target>
51
52 <!-- German                                                               -->
53 <!-- ==================================================================== -->
54 <property value=".xml.de" name="inputext.de"/>
55 <property value=".html.de" name="outputext.de"/>
56
57 <target description="- builds German HTML files" name="de">
58     <html.generic lang="de"/>
59 </target>
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"/>
64 </target>
65 <target description="- builds the German zipped download package" depends="-off-de" name="zip-de">
66     <zip.generic lang="de"/>
67 </target>
68 <target description="- builds the German Konqueror Web Archive" depends="-off-de" name="war-de">
69     <war.generic lang="de"/>
70 </target>
71 <target description="- builds the German CHM file" name="chm-de">
72     <chm.generic lang="de"/>
73 </target>
74
75 <!-- English                                                              -->
76 <!-- ==================================================================== -->
77 <property value=".xml" name="inputext.en"/>
78 <property value=".html.en" name="outputext.en"/>
79
80 <target description="- builds English HTML files" name="en">
81     <html.generic lang="en"/>
82     <runtarget target="man-en"/>
83 </target>
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"/>
88 </target>
89 <target description="- builds the English zipped download package" depends="-off-en" name="zip-en">
90     <zip.generic lang="en"/>
91 </target>
92 <target description="- builds the English Konqueror Web Archive" depends="-off-en" name="war-en">
93     <war.generic lang="en"/>
94 </target>
95 <target description="- builds the English CHM file" name="chm-en">
96     <chm.generic lang="en"/>
97 </target>
98 <target description="- builds the English nroff files" unless="skip-man" depends="check-man" name="man-en">
99     <nroff.generic lang="en"/>
100 </target>
101 <target description="- builds the English latex file" name="latex-en">
102     <latex.generic lang="en"/>
103 </target>
104
105 <!-- Spanish                                                              -->
106 <!-- ==================================================================== -->
107 <property value=".xml.es" name="inputext.es"/>
108 <property value=".html.es" name="outputext.es"/>
109
110 <target description="- builds Spanish HTML files" name="es">
111     <html.generic lang="es"/>
112 </target>
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"/>
117 </target>
118 <target description="- builds the Spanish zipped download package" depends="-off-es" name="zip-es">
119     <zip.generic lang="es"/>
120 </target>
121 <target description="- builds the Spanish Konqueror Web Archive" depends="-off-es" name="war-es">
122     <war.generic lang="es"/>
123 </target>
124 <target description="- builds the Spanish CHM file" name="chm-es">
125     <chm.generic lang="es"/>
126 </target>
127
128 <!-- French                                                               -->
129 <!-- ==================================================================== -->
130 <property value=".xml.fr" name="inputext.fr"/>
131 <property value=".html.fr" name="outputext.fr"/>
132
133 <target description="- builds French HTML files" name="fr">
134     <html.generic lang="fr"/>
135 </target>
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"/>
140 </target>
141 <target description="- builds the French zipped download package" depends="-off-fr" name="zip-fr">
142     <zip.generic lang="fr"/>
143 </target>
144 <target description="- builds the French Konqueror Web Archive" depends="-off-fr" name="war-fr">
145     <war.generic lang="fr"/>
146 </target>
147 <target description="- builds the French CHM file" name="chm-fr">
148     <chm.generic lang="fr"/>
149 </target>
150
151 <!-- Japanese                                                             -->
152 <!-- ==================================================================== -->
153 <property value=".xml.ja" name="inputext.ja"/>
154 <property value=".html.ja.utf8" name="outputext.ja"/>
155
156 <target description="- builds Japanese HTML files" name="ja">
157     <html.generic lang="ja"/>
158 </target>
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"/>
163 </target>
164 <target description="- builds the Japanese zipped download package" depends="-off-ja" name="zip-ja">
165     <zip.generic lang="ja"/>
166 </target>
167 <target description="- builds the Japanese Konqueror Web Archive" depends="-off-ja" name="war-ja">
168     <war.generic lang="ja"/>
169 </target>
170 <target description="- builds the Japanese CHM file" name="chm-ja">
171     <chm.generic lang="ja"/>
172 </target>
173
174 <!-- Korean                                                               -->
175 <!-- ==================================================================== -->
176 <property value=".xml.ko" name="inputext.ko"/>
177 <property value=".html.ko.euc-kr" name="outputext.ko"/>
178
179 <target description="- builds Korean HTML files" name="ko">
180     <html.generic lang="ko"/>
181 </target>
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"/>
186 </target>
187 <target description="- builds the Korean zipped download package" depends="-off-ko" name="zip-ko">
188     <zip.generic lang="ko"/>
189 </target>
190 <target description="- builds the Korean Konqueror Web Archive" depends="-off-ko" name="war-ko">
191     <war.generic lang="ko"/>
192 </target>
193 <target description="- builds the Korean CHM file" name="chm-ko">
194     <chm.generic lang="ko"/>
195 </target>
196
197 <!-- Portuguese                                                           -->
198 <!-- ==================================================================== -->
199 <property value=".xml.pt-br" name="inputext.pt-br"/>
200 <property value=".html.pt-br" name="outputext.pt-br"/>
201
202 <target description="- builds Portuguese HTML files" name="pt-br">
203     <html.generic lang="pt-br"/>
204 </target>
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"/>
209 </target>
210 <target description="- builds the Portuguese zipped download package" depends="-off-pt-br" name="zip-pt-br">
211     <zip.generic lang="pt-br"/>
212 </target>
213 <target description="- builds the Portuguese Konqueror Web Archive" depends="-off-pt-br" name="war-pt-br">
214     <war.generic lang="pt-br"/>
215 </target>
216
217 <!-- Russian                                                              -->
218 <!-- ==================================================================== -->
219 <property value=".xml.ru" name="inputext.ru"/>
220 <property value=".html.ru.koi8-r" name="outputext.ru"/>
221
222 <target description="- builds Russian HTML files" name="ru">
223     <html.generic lang="ru"/>
224 </target>
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"/>
229 </target>
230 <target description="- builds the Russian zipped download package" depends="-off-ru" name="zip-ru">
231     <zip.generic lang="ru"/>
232 </target>
233 <target description="- builds the Russian Konqueror Web Archive" depends="-off-ru" name="war-ru">
234     <war.generic lang="ru"/>
235 </target>
236
237 <!-- Turkish                                                              -->
238 <!-- ==================================================================== -->
239 <property value=".xml.tr" name="inputext.tr"/>
240 <property value=".html.tr.utf8" name="outputext.tr"/>
241
242 <target description="- builds Turkish HTML files" name="tr">
243     <html.generic lang="tr"/>
244 </target>
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"/>
249 </target>
250 <target description="- builds the Turkish zipped download package" depends="-off-tr" name="zip-tr">
251     <zip.generic lang="tr"/>
252 </target>
253 <target description="- builds the Turkish Konqueror Web Archive" depends="-off-tr" name="war-tr">
254     <war.generic lang="tr"/>
255 </target>
256 <target description="- builds the Turkish CHM file" name="chm-tr">
257     <chm.generic lang="tr"/>
258 </target>
259 <target description="- builds the Turkish nroff files" unless="skip-man" depends="check-man" name="man-tr">
260     <nroff.generic lang="tr"/>
261 </target>
262
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"/>
267
268 <target description="- builds Simplified Chinese HTML files" name="zh-cn">
269     <html.generic lang="zh-cn"/>
270 </target>
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"/>
275 </target>
276 <target description="- builds the Simplified Chinese zipped download package" depends="-off-zh-cn" name="zip-zh-cn">
277     <zip.generic lang="zh-cn"/>
278 </target>
279 <target description="- builds the Simplified Chinese Konqueror Web Archive" depends="-off-zh-cn" name="war-zh-cn">
280     <war.generic lang="zh-cn"/>
281 </target>
282 <target description="- builds the Simplified Chinese CHM file" name="chm-zh-cn">
283     <chm.generic lang="zh-cn"/>
284 </target>
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"/>
287 </target>
288
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"/>
296         <fileset dir="../">
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"/>
308
309             <patternset refid="excludes"/>
310             <patternset refid="scratch"/>
311         </fileset>
312     </xmlvalidate>
313 </target>
314
315 </project>