]> git.donarmstrong.com Git - debhelper.git/commitdiff
dh_installchangelogs: Support packages placing their changelog in a file with a name...
authorJoey Hess <joey@kitenet.net>
Fri, 28 May 2010 05:20:49 +0000 (01:20 -0400)
committerJoey Hess <joey@kitenet.net>
Fri, 28 May 2010 05:20:49 +0000 (01:20 -0400)
debian/changelog
dh_installchangelogs

index fa5b4572269c1f185bf2ba11a36aed9c78cc934d..6892bae36580d262173018352419ce3fa765d115 100644 (file)
@@ -22,6 +22,8 @@ debhelper (7.9.1) UNRELEASED; urgency=low
     (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
 
index 4bf97dcc680a82ce84156034e89f8bd726050916..87ac11bdd0ac893c37182616dc5118d379952f41 100755 (executable)
@@ -85,7 +85,7 @@ my $changelog_name="changelog.Debian";
 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;