[SCM] Debian package checker branch, master, updated. 2.5.10-6-g9fd5d80
The following commit has been merged in the master branch:
commit 9fd5d8049dfa8f726bc5b129773d18a2bb626429
Author: Niels Thykier <niels@thykier.net>
Date: Tue Jul 10 15:11:39 2012 +0200
c/manpages: Pass -Tutf8 -Z to man
This skips part of the groff pipeline, making Lintian a bit faster on
packages with a lot of manpages.
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/checks/manpages b/checks/manpages
index 375fb5e..4b27afb 100644
--- a/checks/manpages
+++ b/checks/manpages
@@ -233,7 +233,7 @@ foreach my $file ($info->sorted_index) {
# parent directory before running man so that .so directives are
# processed properly. (Yes, there are man pages that include other
# pages with .so but aren't simple links; rbash, for instance.)
- my @cmd = ('man', '--warnings', '-E', 'UTF-8', '-l');
+ my @cmd = ('man', '--warnings', '-E', 'UTF-8', '-l', '-Tutf8', '-Z');
my $dir;
if ($path =~ m,^(.*)/(man\d/.*)$,) {
$dir = $1;
diff --git a/checks/manpages.desc b/checks/manpages.desc
index c6ceb01..1b22764 100644
--- a/checks/manpages.desc
+++ b/checks/manpages.desc
@@ -168,7 +168,7 @@ Info: This man page provokes warnings or errors from man.
.
To test this for yourself you can use the following command:
LC_ALL=en_US.UTF-8 MANROFFSEQ='' MANWIDTH=80 \
- man --warnings -E UTF-8 -l <file> >/dev/null
+ man --warnings -E UTF-8 -l -Tutf8 -Z <file> >/dev/null
Tag: manpage-has-errors-from-pod2man
Severity: normal
diff --git a/debian/changelog b/debian/changelog
index 3999266..78d48b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,8 @@ lintian (2.5.11) UNRELEASED; urgency=low
invoking a shell when calling man.
+ [CW,NT] Be stricter with missing roff preprocessors by
setting MANROFFSEQ to the empty string when calling man.
+ + [CW,NT] Pass -Tutf8 -Z to man to skip an unused part of
+ the groff pipeline.
-- Niels Thykier <niels@thykier.net> Tue, 10 Jul 2012 13:21:56 +0200
--
Debian package checker
Reply to: