[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian: r554 - in trunk: checks debian



Author: djpig
Date: 2006-01-23 13:25:55 +0100 (Mon, 23 Jan 2006)
New Revision: 554

Modified:
   trunk/checks/manpages
   trunk/debian/changelog
Log:
Ignore more warnings ("cannot adjust line", "can't break
line") in non-English manpages


Modified: trunk/checks/manpages
===================================================================
--- trunk/checks/manpages	2006-01-23 00:49:24 UTC (rev 553)
+++ trunk/checks/manpages	2006-01-23 12:25:55 UTC (rev 554)
@@ -249,7 +249,11 @@
 	    # ignore errors from gzip, will be dealt with at other places
 	    next if /^(man|gzip)/;
 	    # ignore 8bit character errors on localized man pages
-	    next if /warning: can\'t find numbered character/ && $lang ne "";
+	    if ($lang ne "") {
+		next if /warning: can\'t find numbered character/;
+		next if /warning \[.*\]: cannot adjust line/;
+		next if /warning \[.*\]: can\'t break line/;
+	    }
 	    chomp;
 	    s/^[^:]+://o;
 	    tag "manpage-has-errors-from-man", "$file", "$_";

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-01-23 00:49:24 UTC (rev 553)
+++ trunk/debian/changelog	2006-01-23 12:25:55 UTC (rev 554)
@@ -6,6 +6,9 @@
   * checks/fields:
     + [RA] Allow a quilt build-dependency for arch-independent packages if
       the quilt makefile rules are included.  (Closes: #349273)
+  * checks/manpages:
+    + [FL] Ignore more warnings ("cannot adjust line", "can't break
+      line") in non-English manpages
   * checks/menu-format.desc:
     + [RA] Use "menu manual" rather than "menu" for references to more
       clearly distinguish from the Debian Menu Policy.  (Closes: #347510)



Reply to: