]> granicus.if.org Git - apache/commitdiff
build bootstrap
authorAndré Malo <nd@apache.org>
Fri, 7 Mar 2008 11:14:25 +0000 (11:14 +0000)
committerAndré Malo <nd@apache.org>
Fri, 7 Mar 2008 11:14:25 +0000 (11:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@634616 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/description.xml
docs/manual/style/lang-targets.xml
docs/manual/style/manual.tr.xsl [new file with mode: 0644]
docs/manual/style/xsl/util/allmodules.xml
docs/manual/style/xsl/util/designations.xml

index e0a873ac0efade307cbc40cd73a149e5cf8c19da..e8c328b0730dbd79eb6f9a3ad1de64639b4edff2 100644 (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>
\ No newline at end of file
index cae1df1d35f31b1e1dd55ac2368b97e49a332dd3..6f985879bc349d64b0b4e242b6970d41897b6295 100644 (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                                                               -->
 <!-- ==================================================================== -->
     <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> ;-)    -->
             <include name="**/*.xml.ko"/>
             <include name="**/*.xml.pt-br"/>
             <include name="**/*.xml.ru"/>
+            <include name="**/*.xml.tr"/>
 
             <patternset refid="excludes"/>
             <patternset refid="scratch"/>
diff --git a/docs/manual/style/manual.tr.xsl b/docs/manual/style/manual.tr.xsl
new file mode 100644 (file)
index 0000000..2fc297c
--- /dev/null
@@ -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>
\ No newline at end of file
index a6da945dc2bcf36ffe3c104dfaa39ee9c0473579..1eb12fefd56da116e3d585a4cade5894ea2bb82d 100644 (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>
\ No newline at end of file
index 5211ce9ae11748f5d8af0ba02986927953bad6b5..476a676a0080e4e96801492d6147f57fbf002179 100644 (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>