The following commit has been merged in the master branch:
commit efde278063ebb97bdb2e43b052065837a7cc103a
Author: Jakub Wilk <[email protected]>
Date:   Sat Sep 3 21:48:08 2011 +0200

    manual-refs: Added the Java Policy and updated the Lintian refs
    
    Signed-off-by: Niels Thykier <[email protected]>

diff --git a/debian/changelog b/debian/changelog
index dbda8e8..27ec941 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -186,6 +186,7 @@ lintian (2.5.3) UNRELEASED; urgency=low
   * private/refresh-manual-refs:
     + [NT] Remove code to refresh refs to the Library Packaging
       Guide.
+    + [JW] Added the java-policy and fixed the lintian ref.
 
   * reporting/{config,html_reports,templates/foot.tmpl}:
     + [NT] Added a link to the Lintian source code.
diff --git a/private/refresh-manual-refs b/private/refresh-manual-refs
index 8097b3a..023d516 100755
--- a/private/refresh-manual-refs
+++ b/private/refresh-manual-refs
@@ -81,10 +81,17 @@ my %manuals = (
         'http://www.debian.org/doc/packaging-manuals/python-policy/',
         $link_re, $fields
     ],
+    'java-policy' => [
+        '/usr/share/doc/java-common/debian-java-policy/index.html',
+        'http://www.debian.org/doc/packaging-manuals/java-policy/',
+        qr/([\d.]+?)\.\s+<a\s*href="(.+?)"\s*>([\w\s[:punct:]]+?)<\/a\s*>/i,
+        [ [ 'section' ], [ 'url' ], [ 'title' ] ]
+    ],
     'lintian' => [
         '/usr/share/doc/lintian/lintian.html/index.html',
         'http://lintian.debian.org/manual/',
-        $link_re, $fields
+        qr/([\d.]+?)\.\s+<a\s*href="(.+?)"\s*>([\w\s[:punct:]]+?)<\/a\s*>/i,
+        [ [ 'section' ], [ 'url' ], [ 'title' ] ]
     ],
     'devref' => [
         '/usr/share/doc/developers-reference/index.html',

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to