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

Bug#930109: lintian: fpos for source-contains-prebuilt-doxygen-documentation



Package: lintian
Version: 2.15.0

Hi,

I notice lintian flags src:pencil2d with
source-contains-prebuilt-doxygen-documentation, however to the best of
my knowledge the file marked as such is is a custom header, and not a
built doxygen doc.

The file in question can be found on recent (0.6.2+) versions of
pencil2d in the archive, as util/docs/header.html.  Lintian seems to
detect this line within the file:
    <meta name="generator" content="Doxygen $doxygenversion"/>
which matches this expression from cruft.pm:
    if($blocknumber == 0) {
        if(index($block,'<meta name="generator"') > -1) {
            if($block =~ m,<meta \s+ name="generator" \s+ content="doxygen,smx)
            {
                tag 'source-contains-prebuilt-doxygen-documentation', $entry;
                return -1;
            }
        }
    }


I suspect a good way to not trigger in this case, is to notice that
there are tags like $doxygenversion, or any other of the tags mentioned
in http://www.doxygen.nl/manual/config.html#cfg_html_header which would
mark this file as a template for doxygen, rather than a built doxygen
doc.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


Reply to: