summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Malo <nd@apache.org>2005-01-04 15:08:58 +0000
committerAndré Malo <nd@apache.org>2005-01-04 15:08:58 +0000
commite15437c4d00746f612c3531e7dacb8de9513e745 (patch)
tree7425c66cd1ca2f9ef01bdcb1b460e3725e470f5e
parent4c18e6fe6c792c2ed407df21c1920ddcd124527d (diff)
downloadhttpd-e15437c4d00746f612c3531e7dacb8de9513e745.tar.gz
build bootstrap
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124109 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--docs/manual/style/lang-targets.xml27
-rw-r--r--docs/manual/style/manual.pt-br.xsl36
-rw-r--r--docs/manual/style/xsl/util/allmodules.xml1
-rw-r--r--docs/manual/style/xsl/util/designations.xml1
4 files changed, 62 insertions, 3 deletions
diff --git a/docs/manual/style/lang-targets.xml b/docs/manual/style/lang-targets.xml
index 2dbf5a1432..4ac9a726b4 100644
--- a/docs/manual/style/lang-targets.xml
+++ b/docs/manual/style/lang-targets.xml
@@ -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 -->
<!-- ==================================================================== -->
@@ -167,6 +167,26 @@
<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"/>
@@ -201,6 +221,7 @@
<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
index 0000000000..b1f689860f
--- /dev/null
+++ b/docs/manual/style/manual.pt-br.xsl
@@ -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
diff --git a/docs/manual/style/xsl/util/allmodules.xml b/docs/manual/style/xsl/util/allmodules.xml
index 7d99447995..a6da945dc2 100644
--- a/docs/manual/style/xsl/util/allmodules.xml
+++ b/docs/manual/style/xsl/util/allmodules.xml
@@ -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
diff --git a/docs/manual/style/xsl/util/designations.xml b/docs/manual/style/xsl/util/designations.xml
index d82cf5195f..5211ce9ae1 100644
--- a/docs/manual/style/xsl/util/designations.xml
+++ b/docs/manual/style/xsl/util/designations.xml
@@ -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>