[Reproducible-commits] [dpkg] 63/105: build: Use a single po4a opt argument instead of the same per language

Niko Tyni ntyni at moszumanska.debian.org
Mon May 2 13:49:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

ntyni pushed a commit to branch ntyni/reproducible_builds
in repository dpkg.

commit 174b5a5e63b105b34f9c6ebd37d9c1a58f21ff63
Author: Guillem Jover <guillem at debian.org>
Date:   Wed Apr 20 00:11:32 2016 +0200

    build: Use a single po4a opt argument instead of the same per language
---
 debian/changelog |  1 +
 man/po/po4a.cfg  | 13 +------------
 2 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f2bab71..b5db1d1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -94,6 +94,7 @@ dpkg (1.18.5) UNRELEASED; urgency=medium
     - Do not require passing the perl interpreter to run-script.
     - Quote dirname argument in run-script, to handle spaces in pathname.
       Reported by Carsten Hey <carsten at debian.org>.
+    - Use a single po4a opt argument instead of the same per language.
   * Packaging:
     - Enable all hardening flags, starting with gcc-5 there is no performance
       loss anymore when enabling PIE on i386.
diff --git a/man/po/po4a.cfg b/man/po/po4a.cfg
index ba60ec7..63f95e7 100644
--- a/man/po/po4a.cfg
+++ b/man/po/po4a.cfg
@@ -2,18 +2,7 @@
 [po4a_paths] po/dpkg-man.pot $lang:po/$lang.po
 
 # Make sure the man pages are generated with the right encoding.
-[po4a_alias:man] man                           \
-                 opt_de:"-L UTF-8    -A UTF-8" \
-                 opt_es:"-L UTF-8    -A UTF-8" \
-                 opt_fr:"-L UTF-8    -A UTF-8" \
-                 opt_hu:"-L UTF-8    -A UTF-8" \
-                 opt_it:"-L UTF-8    -A UTF-8" \
-                 opt_ja:"-L UTF-8    -A UTF-8" \
-                 opt_pl:"-L UTF-8    -A UTF-8" \
-                 opt_pt_BR:"-L UTF-8 -A UTF-8" \
-                 opt_ru:"-L UTF-8    -A UTF-8" \
-                 opt_sv:"-L UTF-8    -A UTF-8" \
-                 opt_zh_CN:"-L UTF-8 -A UTF-8"
+[po4a_alias:man] man opt:"-L UTF-8 -A UTF-8"
 
 [type:man] deb.5 $lang:$lang/deb.5 \
            add_$lang:po/$lang.add

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list