Comment 3 for bug 595008

Revision history for this message
Raphaël Hertzog (hertzog) wrote : Re: [Bug 595008] Re: should port the Ubuntu cdbs custom rules to dh7

On Wed, 16 Jun 2010, Martin Pitt wrote:
> Because it's (Debian's) cdbs which installs it in the first place :-)
>
> http://git.debian.org/?p=collab-maint/cdbs.git;a=blob;f=1/rules/debhelper.mk.in;h=b46838b2e5760a5d9a1353477d687586118bf28b;hb=HEAD#l113
>
> So this bit is not relevant for the dh7 port.

Well, dh7 has the same kind of heuristic[1] to detect the upstream ChangeLog
so the end result would be the same and when it doesn't detect it
correctly, the maintainer is supposed to add an override for
dh_install_changelogs and pass it explicitly.

If you really want to strip them for all dehelper-using packages, you have to
modify dh_installchangelogs to not install it in the first place.

[1] See dh_installchangelogs(1):
       An upstream changelog file may be specified as an option. If none
       is specified, a few common filenames are tried. (In compatibility
       level 7 and above.)

Cheers,
--
Raphaël Hertzog

Like what I do? Sponsor me: http://ouaza.com/wp/2010/01/05/5-years-of-freexian/
My Debian goals: http://ouaza.com/wp/2010/01/09/debian-related-goals-for-2010/