summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rwxr-xr-xdh_installman2
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 6b3cdfd9..1beaa02e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,7 @@ debhelper (10.7) UNRELEASED; urgency=medium
substituting into the snippet. This variant (like the subroutine
variant) avoids forking a lot of subprocesses and need not worry
about a shell possible interpreting metacharacters.
+ * dh_installman: Pass "-l" to man when recoding the manpages.
-- Niels Thykier <niels@thykier.net> Sat, 15 Jul 2017 09:42:32 +0000
diff --git a/dh_installman b/dh_installman
index a78f8c59..704dbbc3 100755
--- a/dh_installman
+++ b/dh_installman
@@ -295,7 +295,7 @@ if (defined `man --version`) {
for my $manpage (@_) {
my $manpage_tmp = "${manpage}.dh-new";
my $manpage_cmd = ($manpage =~ m{^/}) ? $manpage : "./${manpage}";
- doit({ stdout => $manpage_tmp }, 'man', '--recode', 'UTF-8', $manpage_cmd);
+ doit({ stdout => $manpage_tmp }, 'man', '-l', '--recode', 'UTF-8', $manpage_cmd);
# recode uncompresses compressed pages
my $orig = $manpage;
rm_files($orig) if $manpage =~ s/\.(gz|Z)$//;