(Ie, use "dh $@ --foo", not "dh --foo $@")
This avoids ambiguities when parsing options to be passed on to debhelper
commands. (See #570039)
+ * dh_installchangelogs: Support packages placing their changelog in a
+ file with a name like HISTORY. Closes: #582749
-- Joey Hess <joeyh@debian.org> Mon, 17 May 2010 20:01:19 -0400
if (! defined $upstream) {
if (! isnative($dh{MAINPACKAGE}) && !compat(6)) {
my @files=sort glob("*");
- foreach my $name (qw{changelog changes changelog.txt changes.txt}) {
+ foreach my $name (qw{changelog changes changelog.txt changes.txt history history.txt}) {
my @matches=grep {
lc $_ eq $name && -s $_ && ! excludefile($_)
} @files;