1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

build bootstrap

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@634616 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
André Malo
2008-03-07 11:14:25 +00:00
parent 0df7a12a10
commit 1752411606
5 changed files with 70 additions and 3 deletions

View File

@@ -43,5 +43,6 @@ Some targets have additional requirements:
+ chm-es: Spanish (Spain), sorting order: international
+ chm-ja: Japanese
+ chm-ko: Korean
+ chm-tr: Türkçe
</description>

View File

@@ -22,9 +22,9 @@
<!-- ==================================================================== -->
<project name="lang-targets">
<target description="- builds all HTML files and nroff man pages" name="all" depends="de, en, es, fr, ja, ko, pt-br, ru"/>
<target description="- builds all zip download packages" name="zip-all" depends="zip-de, zip-en, zip-es, zip-fr, zip-ja, zip-ko, zip-pt-br, zip-ru"/>
<target description="- builds all war download packages" name="war-all" depends="war-de, war-en, war-es, war-fr, war-ja, war-ko, war-pt-br, war-ru"/>
<target description="- builds all HTML files and nroff man pages" name="all" depends="de, en, es, fr, ja, ko, pt-br, ru, tr"/>
<target description="- builds all zip download packages" name="zip-all" depends="zip-de, zip-en, zip-es, zip-fr, zip-ja, zip-ko, zip-pt-br, zip-ru, zip-tr"/>
<target description="- builds all war download packages" name="war-all" depends="war-de, war-en, war-es, war-fr, war-ja, war-ko, war-pt-br, war-ru, war-tr"/>
<!-- German -->
<!-- ==================================================================== -->
@@ -208,6 +208,32 @@
<war.generic lang="ru"/>
</target>
<!-- Turkish -->
<!-- ==================================================================== -->
<property value=".xml.tr" name="inputext.tr"/>
<property value=".html.tr" 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" name="man-tr">
<nroff.generic lang="tr"/>
</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> ;-) -->
@@ -224,6 +250,7 @@
<include name="**/*.xml.ko"/>
<include name="**/*.xml.pt-br"/>
<include name="**/*.xml.ru"/>
<include name="**/*.xml.tr"/>
<patternset refid="excludes"/>
<patternset refid="scratch"/>

View File

@@ -0,0 +1,37 @@
<?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.
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
<!-- Read the localized messages from the specified language file -->
<xsl:variable name="message" select="document('lang/tr.xml')/language/messages/message"/>
<xsl:variable name="doclang">tr</xsl:variable>
<xsl:variable name="allmodules" select="document('xsl/util/allmodules.xml')/items/item[@lang=$doclang]"/>
<!-- some meta information have to be passed to the transformation -->
<xsl:variable name="output-encoding">UTF-8</xsl:variable>
<xsl:variable name="is-chm" select="false()"/>
<xsl:variable name="is-zip" select="false()"/>
<!-- Now get the real guts of the stylesheet -->
<xsl:include href="xsl/common.xsl"/>
</xsl:stylesheet>

View File

@@ -8,4 +8,5 @@
<item lang="ko">../../../mod/allmodules.xml.ko</item>
<item lang="pt-br">../../../mod/allmodules.xml.pt-br</item>
<item lang="ru">../../../mod/allmodules.xml.ru</item>
<item lang="tr">../../../mod/allmodules.xml.tr</item>
</items>

View File

@@ -8,4 +8,5 @@
<item charset="EUC-KR" lang="ko">.html.ko.euc-kr</item>
<item charset="ISO-8859-1" lang="pt-br">.html.pt-br</item>
<item charset="KOI8-R" lang="ru">.html.ru.koi8-r</item>
<item charset="UTF-8" lang="tr">.html.tr</item>
</items>