]> granicus.if.org Git - apache/commitdiff
build bootstrap
authorAndré Malo <nd@apache.org>
Tue, 4 Jan 2005 15:08:58 +0000 (15:08 +0000)
committerAndré Malo <nd@apache.org>
Tue, 4 Jan 2005 15:08:58 +0000 (15:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124109 13f79535-47bb-0310-9956-ffa450edef68

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

index 2dbf5a1432cda3c2fd4477492222028481b0ecb3..4ac9a726b47f2664838997410956de5b1b1dd62c 100644 (file)
@@ -21,9 +21,9 @@
 <!-- ==================================================================== -->
 <project name="lang-targets">
 
-<target description="- builds all HTML files and nroff man pages" name="all" depends="de, en, es, fr, ja, ko, 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-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-ru"/>
+<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"/>
 
 <!-- German                                                               -->
 <!-- ==================================================================== -->
     <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"/>
             <include name="**/*.xml.fr"/>
             <include name="**/*.xml.ja"/>
             <include name="**/*.xml.ko"/>
+            <include name="**/*.xml.pt-br"/>
             <include name="**/*.xml.ru"/>
 
             <patternset refid="excludes"/>
diff --git a/docs/manual/style/manual.pt-br.xsl b/docs/manual/style/manual.pt-br.xsl
new file mode 100644 (file)
index 0000000..b1f6898
--- /dev/null
@@ -0,0 +1,36 @@
+<?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.
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+<xsl:output method="xml" encoding="ISO-8859-1" 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/pt-br.xml')/language/messages/message"/>
+<xsl:variable name="doclang">pt-br</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">ISO-8859-1</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 7d9944799517035edaa13e94be061bdbfd5cc687..a6da945dc2bcf36ffe3c104dfaa39ee9c0473579 100644 (file)
@@ -6,5 +6,6 @@
 <item lang="fr">../../../mod/allmodules.xml.fr</item>
 <item lang="ja">../../../mod/allmodules.xml.ja</item>
 <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>
 </items>
\ No newline at end of file
index d82cf5195ff6c89e6a26fac45bf120176d682595..5211ce9ae11748f5d8af0ba02986927953bad6b5 100644 (file)
@@ -6,5 +6,6 @@
 <item charset="ISO-8859-1" lang="fr">.html.fr</item>
 <item charset="EUC-JP" lang="ja">.html.ja.euc-jp</item>
 <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>
 </items>