diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2015-03-01 10:16:33 +0100 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2015-03-01 10:16:33 +0100 |
commit | 29231e618d0437f0e207887308a6512961acfe54 (patch) | |
tree | 5afcd2342eec826dfe81b7b354102173c3cb239d /dh_installchangelogs | |
parent | b4d401a719de734d564dc579ba66d086d3421497 (diff) | |
download | debhelper-29231e618d0437f0e207887308a6512961acfe54.tar.gz |
dh_installchangelogs: Also look for changelogs with .rst suffix
Diffstat (limited to 'dh_installchangelogs')
-rwxr-xr-x | dh_installchangelogs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_installchangelogs b/dh_installchangelogs index c32ad93b..c83ac26f 100755 --- a/dh_installchangelogs +++ b/dh_installchangelogs @@ -142,7 +142,7 @@ if (! defined $upstream) { if (! isnative($dh{MAINPACKAGE}) && !compat(6)) { foreach my $dir (qw{. doc docs}) { my @files=sort glob("$dir/*"); - foreach my $suffix ('', qw(.txt .md)) { + foreach my $suffix ('', qw(.txt .md .rst)) { foreach my $name (qw{changelog changes history}) { my @matches=grep { lc basename($_) eq "$name$suffix" && -s $_ && ! excludefile($_) |