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

<!--
 Copyright 2002-2005 The Apache Software Foundation or its licensors, as
 applicable.

 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"/>
<target description="- builds all war download packages" name="war-all" depends="war-de, war-en, war-es, war-ja, war-ko, war-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 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" 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>

<!-- 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 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>

<!-- 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>

<!-- 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>