Author: nekral-guest
Date: 2006-04-11 18:49:08 +0000 (Tue, 11 Apr 2006)
New Revision: 240

Modified:
   trunk/debian/changelog
   trunk/man/ChangeLog
   trunk/man/po4a.mk
   trunk/man/ru/Makefile.am
Log:
Generate the Russian manpages in the KOI8-R charset.


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2006-04-11 11:27:40 UTC (rev 239)
+++ trunk/debian/changelog      2006-04-11 18:49:08 UTC (rev 240)
@@ -12,6 +12,9 @@
   * Galician (Jacobo Tarrio).
   * Romanian (Eddy Petrişor)
 
+  [ Nicolas Francois ]
+  * Generate the Russian man pages in the KOI8-R charset. Closes: #361987
+
  -- Jacobo Tarrio <[EMAIL PROTECTED]>  Mon, 10 Apr 2006 16:40:46 +0200
 
 dpkg (1.13.18) unstable; urgency=low

Modified: trunk/man/ChangeLog
===================================================================
--- trunk/man/ChangeLog 2006-04-11 11:27:40 UTC (rev 239)
+++ trunk/man/ChangeLog 2006-04-11 18:49:08 UTC (rev 240)
@@ -1,3 +1,11 @@
+2006-04-11  Nicolas Francois  <[EMAIL PROTECTED]>
+
+       * po4a.mk: Add a $(po4a_translate_options) variable to allow
+       languages to add options to po4a-translate.
+       * ru/Makefile.am: Specify that the Russian manpages must be
+       generated in the KOI8-R charset and that the Russian addenda are
+       already encoded in KOI8-R.
+
 2006-04-10  Guillem Jover  <[EMAIL PROTECTED]>
 
        * C/dpkg.1: Document the new way to replicate the package status to

Modified: trunk/man/po4a.mk
===================================================================
--- trunk/man/po4a.mk   2006-04-11 11:27:40 UTC (rev 239)
+++ trunk/man/po4a.mk   2006-04-11 18:49:08 UTC (rev 240)
@@ -1,7 +1,11 @@
 #
 # You must set the $(lang) variable when you include this makefile.
 #
+# You can use the $(po4a_translate_options) variable to specify additional
+# options to po4a.
+# For example: po4a_translate_options=-L KOI8-R -A KOI8-R
 #
+#
 # This makefile deals with the manpages generated from POs with po4a, and
 # should be included in an automake Makefile.am.
 #
@@ -99,9 +103,9 @@
 
 # Build the pages with an addendum
 %: $(srcdir)/%.$(lang).po $(srcdir)/../C/% $(srcdir)/%.$(lang).po.addendum
-       po4a-translate -f man -m $(srcdir)/../C/$@ -p $< -l $@ -a 
$(srcdir)/[EMAIL PROTECTED](lang).po.addendum
+       po4a-translate -f man -m $(srcdir)/../C/$@ -p $< -l $@ -a 
$(srcdir)/[EMAIL PROTECTED](lang).po.addendum $(po4a_translate_options)
 
 # Build the pages without addendum
 %: $(srcdir)/%.$(lang).po $(srcdir)/../C/%
-       po4a-translate -f man -m $(srcdir)/../C/$@ -p $< -l $@
+       po4a-translate -f man -m $(srcdir)/../C/$@ -p $< -l $@ 
$(po4a_translate_options)
 

Modified: trunk/man/ru/Makefile.am
===================================================================
--- trunk/man/ru/Makefile.am    2006-04-11 11:27:40 UTC (rev 239)
+++ trunk/man/ru/Makefile.am    2006-04-11 18:49:08 UTC (rev 240)
@@ -1,6 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 lang=ru
+po4a_translate_options=-L koi8-r -A koi8-r
 
 include ../po4a.mk
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to