[debhelper-devel] [debhelper] 01/01: Migrate to use warnings and use parent
Niels Thykier
nthykier at moszumanska.debian.org
Wed Jul 1 17:18:02 UTC 2015
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository debhelper.
commit 7ecccd6f94c7ce6a76baa8dcd4d74d6a2aac0fe9
Author: Niels Thykier <niels at thykier.net>
Date: Wed Jul 1 18:27:45 2015 +0200
Migrate to use warnings and use parent
Signed-off-by: Niels Thykier <niels at thykier.net>
---
Debian/Debhelper/Buildsystem/ant.pm | 3 ++-
Debian/Debhelper/Buildsystem/autoconf.pm | 3 ++-
Debian/Debhelper/Buildsystem/cmake.pm | 3 ++-
Debian/Debhelper/Buildsystem/makefile.pm | 3 ++-
Debian/Debhelper/Buildsystem/perl_build.pm | 3 ++-
Debian/Debhelper/Buildsystem/perl_makemaker.pm | 3 ++-
Debian/Debhelper/Buildsystem/python_distutils.pm | 3 ++-
Debian/Debhelper/Buildsystem/qmake.pm | 2 +-
Debian/Debhelper/Buildsystem/qmake_qt4.pm | 2 +-
Debian/Debhelper/Dh_Getopt.pm | 3 ++-
Debian/Debhelper/Dh_Lib.pm | 3 ++-
dh | 3 ++-
dh_auto_build | 3 ++-
dh_auto_clean | 3 ++-
dh_auto_configure | 3 ++-
dh_auto_install | 3 ++-
dh_auto_test | 3 ++-
dh_bugfiles | 3 ++-
dh_builddeb | 3 ++-
dh_clean | 3 ++-
dh_compress | 3 ++-
dh_desktop | 3 ++-
dh_fixperms | 3 ++-
dh_gconf | 3 ++-
dh_gencontrol | 3 ++-
dh_icons | 3 ++-
dh_install | 3 ++-
dh_installcatalogs | 3 ++-
dh_installchangelogs | 3 ++-
dh_installcron | 3 ++-
dh_installdeb | 3 ++-
dh_installdebconf | 3 ++-
dh_installdirs | 3 ++-
dh_installdocs | 3 ++-
dh_installemacsen | 3 ++-
dh_installexamples | 3 ++-
dh_installgsettings | 3 ++-
dh_installifupdown | 3 ++-
dh_installinfo | 3 ++-
dh_installinit | 3 ++-
dh_installlogcheck | 3 ++-
dh_installlogrotate | 3 ++-
dh_installman | 3 ++-
dh_installmanpages | 3 ++-
dh_installmenu | 3 ++-
dh_installmime | 3 ++-
dh_installmodules | 3 ++-
dh_installpam | 3 ++-
dh_installppp | 3 ++-
dh_installudev | 3 ++-
dh_installwm | 3 ++-
dh_installxfonts | 3 ++-
dh_link | 3 ++-
dh_lintian | 3 ++-
dh_listpackages | 3 ++-
dh_makeshlibs | 3 ++-
dh_md5sums | 3 ++-
dh_movefiles | 3 ++-
dh_perl | 3 ++-
dh_prep | 3 ++-
dh_scrollkeeper | 3 ++-
dh_shlibdeps | 3 ++-
dh_strip | 3 ++-
dh_suidregister | 3 ++-
dh_testdir | 3 ++-
dh_testroot | 3 ++-
dh_ucf | 3 ++-
dh_undocumented | 3 ++-
68 files changed, 134 insertions(+), 68 deletions(-)
diff --git a/Debian/Debhelper/Buildsystem/ant.pm b/Debian/Debhelper/Buildsystem/ant.pm
index 212aa10..53eb066 100644
--- a/Debian/Debhelper/Buildsystem/ant.pm
+++ b/Debian/Debhelper/Buildsystem/ant.pm
@@ -6,7 +6,8 @@
package Debian::Debhelper::Buildsystem::ant;
use strict;
-use base 'Debian::Debhelper::Buildsystem';
+use warnings;
+use parent qw(Debian::Debhelper::Buildsystem);
sub DESCRIPTION {
"Ant (build.xml)"
diff --git a/Debian/Debhelper/Buildsystem/autoconf.pm b/Debian/Debhelper/Buildsystem/autoconf.pm
index 005bcb5..62ff8b3 100644
--- a/Debian/Debhelper/Buildsystem/autoconf.pm
+++ b/Debian/Debhelper/Buildsystem/autoconf.pm
@@ -7,8 +7,9 @@
package Debian::Debhelper::Buildsystem::autoconf;
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib qw(dpkg_architecture_value sourcepackage compat);
-use base 'Debian::Debhelper::Buildsystem::makefile';
+use parent qw(Debian::Debhelper::Buildsystem::makefile);
sub DESCRIPTION {
"GNU Autoconf (configure)"
diff --git a/Debian/Debhelper/Buildsystem/cmake.pm b/Debian/Debhelper/Buildsystem/cmake.pm
index d60efd5..9646d4b 100644
--- a/Debian/Debhelper/Buildsystem/cmake.pm
+++ b/Debian/Debhelper/Buildsystem/cmake.pm
@@ -7,8 +7,9 @@
package Debian::Debhelper::Buildsystem::cmake;
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib qw(compat);
-use base 'Debian::Debhelper::Buildsystem::makefile';
+use parent qw(Debian::Debhelper::Buildsystem::makefile);
sub DESCRIPTION {
"CMake (CMakeLists.txt)"
diff --git a/Debian/Debhelper/Buildsystem/makefile.pm b/Debian/Debhelper/Buildsystem/makefile.pm
index 79b063b..7203349 100644
--- a/Debian/Debhelper/Buildsystem/makefile.pm
+++ b/Debian/Debhelper/Buildsystem/makefile.pm
@@ -7,8 +7,9 @@
package Debian::Debhelper::Buildsystem::makefile;
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib qw(escape_shell clean_jobserver_makeflags);
-use base 'Debian::Debhelper::Buildsystem';
+use parent qw(Debian::Debhelper::Buildsystem);
# make makes things difficult by not providing a simple way to test
# whether a Makefile target exists. Using -n and checking for a nonzero
diff --git a/Debian/Debhelper/Buildsystem/perl_build.pm b/Debian/Debhelper/Buildsystem/perl_build.pm
index a9bc05d..39c79e2 100644
--- a/Debian/Debhelper/Buildsystem/perl_build.pm
+++ b/Debian/Debhelper/Buildsystem/perl_build.pm
@@ -7,8 +7,9 @@
package Debian::Debhelper::Buildsystem::perl_build;
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib qw(compat);
-use base 'Debian::Debhelper::Buildsystem';
+use parent qw(Debian::Debhelper::Buildsystem);
use Config;
sub DESCRIPTION {
diff --git a/Debian/Debhelper/Buildsystem/perl_makemaker.pm b/Debian/Debhelper/Buildsystem/perl_makemaker.pm
index bb93d67..a98e9e9 100644
--- a/Debian/Debhelper/Buildsystem/perl_makemaker.pm
+++ b/Debian/Debhelper/Buildsystem/perl_makemaker.pm
@@ -7,8 +7,9 @@
package Debian::Debhelper::Buildsystem::perl_makemaker;
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib qw(compat);
-use base 'Debian::Debhelper::Buildsystem::makefile';
+use parent qw(Debian::Debhelper::Buildsystem::makefile);
use Config;
sub DESCRIPTION {
diff --git a/Debian/Debhelper/Buildsystem/python_distutils.pm b/Debian/Debhelper/Buildsystem/python_distutils.pm
index c33cef8..0eef8f1 100644
--- a/Debian/Debhelper/Buildsystem/python_distutils.pm
+++ b/Debian/Debhelper/Buildsystem/python_distutils.pm
@@ -8,9 +8,10 @@
package Debian::Debhelper::Buildsystem::python_distutils;
use strict;
+use warnings;
use Cwd ();
use Debian::Debhelper::Dh_Lib qw(error);
-use base 'Debian::Debhelper::Buildsystem';
+use parent qw(Debian::Debhelper::Buildsystem);
sub DESCRIPTION {
"Python Distutils (setup.py)"
diff --git a/Debian/Debhelper/Buildsystem/qmake.pm b/Debian/Debhelper/Buildsystem/qmake.pm
index e1f7729..21accb7 100644
--- a/Debian/Debhelper/Buildsystem/qmake.pm
+++ b/Debian/Debhelper/Buildsystem/qmake.pm
@@ -9,7 +9,7 @@ package Debian::Debhelper::Buildsystem::qmake;
use strict;
use warnings;
use Debian::Debhelper::Dh_Lib qw(error);
-use base 'Debian::Debhelper::Buildsystem::makefile';
+use parent qw(Debian::Debhelper::Buildsystem::makefile);
our $qmake="qmake";
diff --git a/Debian/Debhelper/Buildsystem/qmake_qt4.pm b/Debian/Debhelper/Buildsystem/qmake_qt4.pm
index b500a69..f9c11f8 100644
--- a/Debian/Debhelper/Buildsystem/qmake_qt4.pm
+++ b/Debian/Debhelper/Buildsystem/qmake_qt4.pm
@@ -3,7 +3,7 @@ package Debian::Debhelper::Buildsystem::qmake_qt4;
use strict;
use warnings;
use Debian::Debhelper::Dh_Lib qw(error);
-use base 'Debian::Debhelper::Buildsystem::qmake';
+use parent qw(Debian::Debhelper::Buildsystem::qmake);
sub DESCRIPTION {
"qmake for QT 4 (*.pro)";
diff --git a/Debian/Debhelper/Dh_Getopt.pm b/Debian/Debhelper/Dh_Getopt.pm
index 93e489b..c7d9c3c 100644
--- a/Debian/Debhelper/Dh_Getopt.pm
+++ b/Debian/Debhelper/Dh_Getopt.pm
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
#
# Debhelper option processing library.
#
@@ -6,6 +6,7 @@
package Debian::Debhelper::Dh_Getopt;
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
use Getopt::Long;
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index 34bd33e..f195367 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
#
# Library functions for debhelper programs, perl version.
#
@@ -6,6 +6,7 @@
package Debian::Debhelper::Dh_Lib;
use strict;
+use warnings;
use Exporter;
use vars qw(@ISA @EXPORT %dh);
diff --git a/dh b/dh
index 93111da..93855c6 100755
--- a/dh
+++ b/dh
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh - debhelper command sequencer
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_auto_build b/dh_auto_build
index fdd9850..f041e34 100755
--- a/dh_auto_build
+++ b/dh_auto_build
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_auto_build - automatically builds a package
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Buildsystems;
=head1 SYNOPSIS
diff --git a/dh_auto_clean b/dh_auto_clean
index 4125d79..7d23945 100755
--- a/dh_auto_clean
+++ b/dh_auto_clean
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_auto_clean - automatically cleans up after a build
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
use Debian::Debhelper::Dh_Buildsystems;
diff --git a/dh_auto_configure b/dh_auto_configure
index d03cd8a..33dc1fb 100755
--- a/dh_auto_configure
+++ b/dh_auto_configure
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_auto_configure - automatically configure a package prior to building
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Buildsystems;
=head1 SYNOPSIS
diff --git a/dh_auto_install b/dh_auto_install
index afc9cf1..9baab66 100755
--- a/dh_auto_install
+++ b/dh_auto_install
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_auto_install - automatically runs make install or similar
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
use Debian::Debhelper::Dh_Buildsystems;
use File::Spec;
diff --git a/dh_auto_test b/dh_auto_test
index 5196713..13dad9a 100755
--- a/dh_auto_test
+++ b/dh_auto_test
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_auto_test - automatically runs a package's test suites
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
use Debian::Debhelper::Dh_Buildsystems;
diff --git a/dh_bugfiles b/dh_bugfiles
index 81e3675..2fe9a11 100755
--- a/dh_bugfiles
+++ b/dh_bugfiles
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_bugfiles - install bug reporting customization files into package build direc
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_builddeb b/dh_builddeb
index 37aef96..e36f0a3 100755
--- a/dh_builddeb
+++ b/dh_builddeb
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_builddeb - build Debian binary packages
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_clean b/dh_clean
index 0158e6e..acb23db 100755
--- a/dh_clean
+++ b/dh_clean
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_clean - clean up package build directories
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_compress b/dh_compress
index ee51322..1b33ac9 100755
--- a/dh_compress
+++ b/dh_compress
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_compress - compress files and fix symlinks in package build directories
=cut
use strict;
+use warnings;
use Cwd;
use Debian::Debhelper::Dh_Lib;
diff --git a/dh_desktop b/dh_desktop
index 3af2cd5..7495eef 100755
--- a/dh_desktop
+++ b/dh_desktop
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_desktop - deprecated no-op
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_fixperms b/dh_fixperms
index ce28785..90fbe3a 100755
--- a/dh_fixperms
+++ b/dh_fixperms
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_fixperms - fix permissions of files in package build directories
=cut
use strict;
+use warnings;
use Config;
use Debian::Debhelper::Dh_Lib;
diff --git a/dh_gconf b/dh_gconf
index 0e13057..d401c3e 100755
--- a/dh_gconf
+++ b/dh_gconf
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_gconf - install GConf defaults files and register schemas
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_gencontrol b/dh_gencontrol
index ec2eeed..f594480 100755
--- a/dh_gencontrol
+++ b/dh_gencontrol
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_gencontrol - generate and install control file
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_icons b/dh_icons
index 58cf03f..f2b6d7a 100755
--- a/dh_icons
+++ b/dh_icons
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_icons - Update caches of Freedesktop icons
=cut
use strict;
+use warnings;
use File::Find;
use Debian::Debhelper::Dh_Lib;
diff --git a/dh_install b/dh_install
index e45ed38..7f8391e 100755
--- a/dh_install
+++ b/dh_install
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_install - install files into package build directories
=cut
use strict;
+use warnings;
use File::Find;
use Debian::Debhelper::Dh_Lib;
diff --git a/dh_installcatalogs b/dh_installcatalogs
index de6a138..d33ad9e 100755
--- a/dh_installcatalogs
+++ b/dh_installcatalogs
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installcatalogs - install and register SGML Catalogs
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
my $sgmlbasever = "1.26+nmu2";
diff --git a/dh_installchangelogs b/dh_installchangelogs
index c83ac26..b372d9b 100755
--- a/dh_installchangelogs
+++ b/dh_installchangelogs
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installchangelogs - install changelogs into package build directories
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_installcron b/dh_installcron
index 7583734..f91ef15 100755
--- a/dh_installcron
+++ b/dh_installcron
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installcron - install cron scripts into etc/cron.*
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_installdeb b/dh_installdeb
index 569b0a4..5d16921 100755
--- a/dh_installdeb
+++ b/dh_installdeb
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installdeb - install files into the DEBIAN directory
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_installdebconf b/dh_installdebconf
index 4a8ddf4..686c7bc 100755
--- a/dh_installdebconf
+++ b/dh_installdebconf
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installdebconf - install files used by debconf in package build directories
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_installdirs b/dh_installdirs
index d064689..6797458 100755
--- a/dh_installdirs
+++ b/dh_installdirs
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installdirs - create subdirectories in package build directories
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_installdocs b/dh_installdocs
index aa6541c..45b5338 100755
--- a/dh_installdocs
+++ b/dh_installdocs
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installdocs - install documentation into package build directories
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_installemacsen b/dh_installemacsen
index a4884a5..b56fb8b 100755
--- a/dh_installemacsen
+++ b/dh_installemacsen
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installemacsen - register an Emacs add on package
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_installexamples b/dh_installexamples
index 426e800..c39e899 100755
--- a/dh_installexamples
+++ b/dh_installexamples
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installexamples - install example files into package build directories
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_installgsettings b/dh_installgsettings
index 66de51a..fcf4470 100755
--- a/dh_installgsettings
+++ b/dh_installgsettings
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installgsettings - install GSettings overrides and set dependencies
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_installifupdown b/dh_installifupdown
index 48e1c1a..3fdbaad 100755
--- a/dh_installifupdown
+++ b/dh_installifupdown
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installifupdown - install if-up and if-down hooks
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_installinfo b/dh_installinfo
index 5ecd428..d12b0c0 100755
--- a/dh_installinfo
+++ b/dh_installinfo
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installinfo - install info files
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_installinit b/dh_installinit
index c4c8a92..579fc69 100755
--- a/dh_installinit
+++ b/dh_installinit
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installinit - install service init files into package build directories
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
use File::Find;
diff --git a/dh_installlogcheck b/dh_installlogcheck
index 3c77bb7..72c92a3 100755
--- a/dh_installlogcheck
+++ b/dh_installlogcheck
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installlogcheck - install logcheck rulefiles into etc/logcheck/
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_installlogrotate b/dh_installlogrotate
index e6d274b..9d7d554 100755
--- a/dh_installlogrotate
+++ b/dh_installlogrotate
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installlogrotate - install logrotate config files
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_installman b/dh_installman
index a467881..135181a 100755
--- a/dh_installman
+++ b/dh_installman
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installman - install man pages into package build directories
=cut
use strict;
+use warnings;
use File::Find;
use Debian::Debhelper::Dh_Lib;
diff --git a/dh_installmanpages b/dh_installmanpages
index a9f41e5..ade1604 100755
--- a/dh_installmanpages
+++ b/dh_installmanpages
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installmanpages - old-style man page installer (deprecated)
=cut
use strict;
+use warnings;
use File::Find;
use Debian::Debhelper::Dh_Lib;
diff --git a/dh_installmenu b/dh_installmenu
index a735a64..3c1d84d 100755
--- a/dh_installmenu
+++ b/dh_installmenu
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installmenu - install Debian menu files into package build directories
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_installmime b/dh_installmime
index 32d1d6a..0b394ad 100755
--- a/dh_installmime
+++ b/dh_installmime
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installmime - install mime files into package build directories
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_installmodules b/dh_installmodules
index bdc8a24..7197d0a 100755
--- a/dh_installmodules
+++ b/dh_installmodules
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installmodules - register kernel modules
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
use File::Find;
diff --git a/dh_installpam b/dh_installpam
index 47d558f..2f73241 100755
--- a/dh_installpam
+++ b/dh_installpam
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installpam - install pam support files
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_installppp b/dh_installppp
index 82735c4..342591a 100755
--- a/dh_installppp
+++ b/dh_installppp
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installppp - install ppp ip-up and ip-down files
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_installudev b/dh_installudev
index 0939955..fa134ea 100755
--- a/dh_installudev
+++ b/dh_installudev
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installudev - install udev rules files
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
use File::Find;
diff --git a/dh_installwm b/dh_installwm
index 8fa0253..a72e3c7 100755
--- a/dh_installwm
+++ b/dh_installwm
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installwm - register a window manager
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_installxfonts b/dh_installxfonts
index a02f6e0..bf48aaf 100755
--- a/dh_installxfonts
+++ b/dh_installxfonts
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_installxfonts - register X fonts
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_link b/dh_link
index 0e625a1..f4ed64d 100755
--- a/dh_link
+++ b/dh_link
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_link - create symlinks in package build directories
=cut
use strict;
+use warnings;
use File::Find;
use Debian::Debhelper::Dh_Lib;
diff --git a/dh_lintian b/dh_lintian
index 555122a..ffb16f6 100755
--- a/dh_lintian
+++ b/dh_lintian
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_lintian - install lintian override files into package build directories
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_listpackages b/dh_listpackages
index 3ddf110..6da8b5a 100755
--- a/dh_listpackages
+++ b/dh_listpackages
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_listpackages - list binary packages debhelper will act on
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_makeshlibs b/dh_makeshlibs
index 2e01214..e567f8e 100755
--- a/dh_makeshlibs
+++ b/dh_makeshlibs
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_makeshlibs - automatically create shlibs file and call dpkg-gensymbols
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_md5sums b/dh_md5sums
index e2bc724..9c92574 100755
--- a/dh_md5sums
+++ b/dh_md5sums
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_md5sums - generate DEBIAN/md5sums file
=cut
use strict;
+use warnings;
use Cwd;
use Debian::Debhelper::Dh_Lib;
diff --git a/dh_movefiles b/dh_movefiles
index 1803f45..547991c 100755
--- a/dh_movefiles
+++ b/dh_movefiles
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_movefiles - move files out of debian/tmp into subpackages
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_perl b/dh_perl
index ea09065..a230689 100755
--- a/dh_perl
+++ b/dh_perl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_perl - calculates Perl dependencies and cleans up after MakeMaker
=cut
use strict;
+use warnings;
use Config;
use File::Find;
use Debian::Debhelper::Dh_Lib;
diff --git a/dh_prep b/dh_prep
index 759b022..5ec7fae 100755
--- a/dh_prep
+++ b/dh_prep
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_prep - perform cleanups in preparation for building a binary package
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_scrollkeeper b/dh_scrollkeeper
index b3a2f6e..7badbd8 100755
--- a/dh_scrollkeeper
+++ b/dh_scrollkeeper
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_scrollkeeper - deprecated no-op
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_shlibdeps b/dh_shlibdeps
index 97109e3..c47bd15 100755
--- a/dh_shlibdeps
+++ b/dh_shlibdeps
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_shlibdeps - calculate shared library dependencies
=cut
use strict;
+use warnings;
use Cwd;
use Debian::Debhelper::Dh_Lib;
diff --git a/dh_strip b/dh_strip
index 0085752..91197ab 100755
--- a/dh_strip
+++ b/dh_strip
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_strip - strip executables, shared libraries, and some static libraries
=cut
use strict;
+use warnings;
use File::Find;
use Debian::Debhelper::Dh_Lib;
diff --git a/dh_suidregister b/dh_suidregister
index c17f905..020e9a0 100755
--- a/dh_suidregister
+++ b/dh_suidregister
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -31,6 +31,7 @@ program from your rules file.
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
init();
diff --git a/dh_testdir b/dh_testdir
index 0459c87..ed576e2 100755
--- a/dh_testdir
+++ b/dh_testdir
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_testdir - test directory before building Debian package
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_testroot b/dh_testroot
index 61700b4..6b2c738 100755
--- a/dh_testroot
+++ b/dh_testroot
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -17,6 +17,7 @@ L<fakeroot(1)>
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
inhibit_log();
diff --git a/dh_ucf b/dh_ucf
index 811bd20..409e950 100755
--- a/dh_ucf
+++ b/dh_ucf
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_ucf - register configuration files with ucf
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
diff --git a/dh_undocumented b/dh_undocumented
index 661864a..101596e 100755
--- a/dh_undocumented
+++ b/dh_undocumented
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
=head1 NAME
@@ -7,6 +7,7 @@ dh_undocumented - undocumented.7 symlink program (deprecated no-op)
=cut
use strict;
+use warnings;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list