blob: 142d33a77385c571f605fae2c47fcb73fc0ba08a [file] [log] [blame]
<?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 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>
<target description="- builds the French CHM file" name="chm-fr">
<chm.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.utf8" 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>