Skip to content

Commit 2b932e4

Browse files
committed
Make package perlcritic-severity-4-clean
1 parent d679953 commit 2b932e4

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

debian/changelog

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ dh-dist-zilla (1.3.5) UNRELEASED; urgency=medium
55
* Declare compliance with Debian Policy 4.1.1.
66
* Bump debhelper compatibility level to 10.
77
+ Update versioned debhelper build-dependency accordingly.
8+
* Make package perlcritic-severity-4-clean.
89

910
-- Axel Beckert <abe@debian.org> Sun, 11 Dec 2016 13:04:53 +0100
1011

debian/generate_manpages.pl

+10-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515

1616
open(my $dmp, '<', $list_of_manpages);
1717
while (my $line = <$dmp>) {
18+
parse_line($line);
19+
}
20+
close($dmp);
21+
22+
sub parse_line {
23+
my $line = shift;
1824
chomp($line);
1925

2026
# Weed out commments and empty lines
@@ -44,9 +50,11 @@
4450
system(@pod2man, "--section=$section",
4551
$name, "$man_page_name.$section");
4652
}
53+
54+
return;
4755
}
48-
close($dmp);
4956

5057
sub get_names {
51-
return grep { -e } map { glob } @_;
58+
my @globs = @_;
59+
return grep { -e } map { glob } @globs;
5260
}

dist_zilla.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use Debian::Debhelper::Dh_Lib;
66
my $build_root = ".build";
77
my $build_dir = "$build_root/debian-build";
88
# Override dzil's looking for $HOME
9-
$ENV{DZIL_GLOBAL_CONFIG_ROOT} = $build_root;
9+
local $ENV{DZIL_GLOBAL_CONFIG_ROOT} = $build_root;
1010

1111
insert_before("dh_auto_configure", "dh_dzil_build");
1212

0 commit comments

Comments
 (0)