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

Bug#683224: lintian: does not report "debian-changelog-file-missing" when there is a missing Debian changelog if /usr/share/doc is missing



On 2012-07-30 00:10, Faheem Mitha wrote:
> Package: lintian
> Version: 2.5.10
> Severity: normal
> 

Hi,

> I noticed when trying to do some packaging, that if, in an old style
> debhelper script, if I don't call either dh_installchangelogs or
> dh_installdocs, in which case (for my package) /usr/share/doc is
> completely absent, then lintian does not give the
> "debian-changelog-file-missing" error at all. It does produce the
> "no-copyright-file" error though.
> 
> I think it should not be difficult to reproduce this, but I can give
> more details if necessary.
> 
> [...]


This happens to be the intended behaviour as far as I can tell (slightly
re-arrranged due to stupid MUA):

"""
# ignore packages which don't have a /usr/share/doc/$pkg directory,
# since the copyright check will complain about this
"""

Where "this" is most likely the no-copyright-file (the comment / context
does not say).

~Niels


Reply to: