Kaynağa Gözat

Generate the Russian manpages in the KOI8-R charset.

Nicolas FRANCOIS 20 yıl önce
ebeveyn
işleme
570c304406
4 değiştirilmiş dosya ile 18 ekleme ve 2 silme
  1. 3 0
      debian/changelog
  2. 8 0
      man/ChangeLog
  3. 6 2
      man/po4a.mk
  4. 1 0
      man/ru/Makefile.am

+ 3 - 0
debian/changelog

@@ -12,6 +12,9 @@ dpkg (1.13.19~) UNRELEASED; urgency=low
   * Galician (Jacobo Tarrio).
   * Romanian (Eddy Petrişor)
 
+  [ Nicolas Francois ]
+  * Generate the Russian man pages in the KOI8-R charset. Closes: #361987
+
  -- Jacobo Tarrio <jtarrio@debian.org>  Mon, 10 Apr 2006 16:40:46 +0200
 
 dpkg (1.13.18) unstable; urgency=low

+ 8 - 0
man/ChangeLog

@@ -1,3 +1,11 @@
+2006-04-11  Nicolas Francois  <nicolas.francois@centraliens.net>
+
+	* 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  <guillem@debian.org>
 
 	* C/dpkg.1: Document the new way to replicate the package status to

+ 6 - 2
man/po4a.mk

@@ -1,6 +1,10 @@
 #
 # 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 @@ dist-hook: updatepo
 
 # 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)/$@.$(lang).po.addendum
+	po4a-translate -f man -m $(srcdir)/../C/$@ -p $< -l $@ -a $(srcdir)/$@.$(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)
 

+ 1 - 0
man/ru/Makefile.am

@@ -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