You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by Ilia Soldis <s0...@tversu.ru> on 2002/09/09 17:22:47 UTC

[PATCH] for build.xml

I've included sections for russian documents. Please, check if I'm correct.

Ilia.



Index: build.xml
===================================================================
RCS file: /home/cvspublic/site-tools/httpd-docs-build/build.xml,v
retrieving revision 1.9
diff -u -r1.9 build.xml
--- build.xml   6 Sep 2002 16:50:47 -0000       1.9
+++ build.xml   9 Sep 2002 15:14:24 -0000
@@ -33,11 +33,17 @@
         <patternset refid="excludes" />
     </patternset>

+    <patternset id="ru-allxml">
+        <include name="**/*.xml.ru" />
+        <patternset refid="excludes" />
+    </patternset>
+
     <patternset id="allxml">
         <patternset refid="en-allxml" />
         <patternset refid="de-allxml" />
         <patternset refid="ja.jis-allxml" />
         <patternset refid="pt-br-allxml" />
+        <patternset refid="ru-allxml" />
     </patternset>

     <!-- This target is for output of HTML pages via XSLT -->
@@ -175,6 +181,33 @@
                style="../style/manual.pt-br.xsl">
             <mapper type="glob" from="*.xml.pt-br" to="*.html.pt-br" />
             <patternset refid="pt-br-allxml" />
+        </style>
+
+        <!-- Transform all Russian documents -->
+        <style basedir="../"
+               destdir="../"
+               style="../style/manual.ru.xsl">
+
+            <mapper type="glob" from="*.xml.ru" to="*.html.ru" />
+            <patternset>
+              <include name="mod/directives.xml.ru" />
+              <include name="mod/index.xml.ru" />
+            </patternset>
+        </style>
+
+        <style basedir="../"
+               destdir="../"
+               style="../style/manual.ru.xsl">
+            <mapper type="glob" from="*.xml.ru" to="*.html.ru" />
+            <depth min="1" max="1" />
+            <patternset refid="ru-allxml" />
+        </style>
+
+        <style basedir="../"
+               destdir="../"
+               style="../style/manual.ru.xsl">
+            <mapper type="glob" from="*.xml.ru" to="*.html.ru" />
+            <patternset refid="ru-allxml" />
         </style>

     </target>


Re: [PATCH] for build.xml

Posted by Yoshiki Hayashi <yo...@xemacs.org>.
"Ilia Soldis" <s0...@tversu.ru> writes:

> I've included sections for russian documents. Please, check if I'm correct.

> +        <style basedir="../"
> +               destdir="../"
> +               style="../style/manual.ru.xsl">
> +            <mapper type="glob" from="*.xml.ru" to="*.html.ru" />

I suggest you append encoding to the filename if it is not
iso-8859-1.  It will be like 
<mapper type="glob" from="*.xml.ru" to="*.html.ru.koi8-r" />
if the encoding is koi8-r.

-- 
Yoshiki Hayashi

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org