<?xml version="1.0" encoding="utf-8"?>

<!--
 Copyright 2002-2004 The Apache Software Foundation

 Licensed 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 description="- builds all HTML files and nroff man pages" name="all" depends="de, en, es, ja, ko, ru"/>
<target description="- builds all zip download packages" name="zip-all" depends="zip-de, zip-en, zip-es, zip-ja, zip-ko, zip-ru"/>

<!-- 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 description="- builds the German zipped download package" name="zip-de">
    <zip.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 description="- builds the English zipped download package" name="zip-en">
    <zip.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" 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 description="- builds the Spanish zipped download package" name="zip-es">
    <zip.generic lang="es"/>
</target>
<target description="- builds the Spanish CHM file" name="chm-es">
    <chm.generic lang="es"/>
</target>

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

<target description="- builds Japanese HTML files" name="ja">
    <html.generic lang="ja"/>
</target>
<target description="- builds the Japanese zipped download package" name="zip-ja">
    <zip.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 description="- builds the Korean zipped download package" name="zip-ko">
    <zip.generic lang="ko"/>
</target>
<target description="- builds the Korean CHM file" name="chm-ko">
    <chm.generic lang="ko"/>
</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 description="- builds the Russian zipped download package" name="zip-ru">
    <zip.generic lang="ru"/>
</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.de"/>
            <include name="**/*.xml"/>
            <include name="**/*.xml.es"/>
            <include name="**/*.xml.ja"/>
            <include name="**/*.xml.ko"/>
            <include name="**/*.xml.ru"/>

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

</project>