summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Debian/Debhelper/Buildsystem/ant.pm3
-rw-r--r--Debian/Debhelper/Buildsystem/autoconf.pm3
-rw-r--r--Debian/Debhelper/Buildsystem/cmake.pm3
-rw-r--r--Debian/Debhelper/Buildsystem/makefile.pm3
-rw-r--r--Debian/Debhelper/Buildsystem/perl_build.pm3
-rw-r--r--Debian/Debhelper/Buildsystem/perl_makemaker.pm3
-rw-r--r--Debian/Debhelper/Buildsystem/python_distutils.pm3
-rw-r--r--Debian/Debhelper/Buildsystem/qmake.pm2
-rw-r--r--Debian/Debhelper/Buildsystem/qmake_qt4.pm2
-rw-r--r--Debian/Debhelper/Dh_Getopt.pm3
-rw-r--r--Debian/Debhelper/Dh_Lib.pm3
-rwxr-xr-xdh3
-rwxr-xr-xdh_auto_build3
-rwxr-xr-xdh_auto_clean3
-rwxr-xr-xdh_auto_configure3
-rwxr-xr-xdh_auto_install3
-rwxr-xr-xdh_auto_test3
-rwxr-xr-xdh_bugfiles3
-rwxr-xr-xdh_builddeb3
-rwxr-xr-xdh_clean3
-rwxr-xr-xdh_compress3
-rwxr-xr-xdh_desktop3
-rwxr-xr-xdh_fixperms3
-rwxr-xr-xdh_gconf3
-rwxr-xr-xdh_gencontrol3
-rwxr-xr-xdh_icons3
-rwxr-xr-xdh_install3
-rwxr-xr-xdh_installcatalogs3
-rwxr-xr-xdh_installchangelogs3
-rwxr-xr-xdh_installcron3
-rwxr-xr-xdh_installdeb3
-rwxr-xr-xdh_installdebconf3
-rwxr-xr-xdh_installdirs3
-rwxr-xr-xdh_installdocs3
-rwxr-xr-xdh_installemacsen3
-rwxr-xr-xdh_installexamples3
-rwxr-xr-xdh_installgsettings3
-rwxr-xr-xdh_installifupdown3
-rwxr-xr-xdh_installinfo3
-rwxr-xr-xdh_installinit3
-rwxr-xr-xdh_installlogcheck3
-rwxr-xr-xdh_installlogrotate3
-rwxr-xr-xdh_installman3
-rwxr-xr-xdh_installmanpages3
-rwxr-xr-xdh_installmenu3
-rwxr-xr-xdh_installmime3
-rwxr-xr-xdh_installmodules3
-rwxr-xr-xdh_installpam3
-rwxr-xr-xdh_installppp3
-rwxr-xr-xdh_installudev3
-rwxr-xr-xdh_installwm3
-rwxr-xr-xdh_installxfonts3
-rwxr-xr-xdh_link3
-rwxr-xr-xdh_lintian3
-rwxr-xr-xdh_listpackages3
-rwxr-xr-xdh_makeshlibs3
-rwxr-xr-xdh_md5sums3
-rwxr-xr-xdh_movefiles3
-rwxr-xr-xdh_perl3
-rwxr-xr-xdh_prep3
-rwxr-xr-xdh_scrollkeeper3
-rwxr-xr-xdh_shlibdeps3
-rwxr-xr-xdh_strip3
-rwxr-xr-xdh_suidregister3
-rwxr-xr-xdh_testdir3
-rwxr-xr-xdh_testroot3
-rwxr-xr-xdh_ucf3
-rwxr-xr-xdh_undocumented3
68 files changed, 134 insertions, 68 deletions
diff --git a/Debian/Debhelper/Buildsystem/ant.pm b/Debian/Debhelper/Buildsystem/ant.pm
index 212aa100..53eb0661 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 005bcb53..62ff8b3a 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 d60efd5d..9646d4b0 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 79b063bc..7203349e 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 a9bc05db..39c79e2f 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 bb93d67e..a98e9e9a 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 c33cef82..0eef8f1e 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 e1f7729b..21accb75 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 b500a69d..f9c11f83 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 93e489b5..c7d9c3cb 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 34bd33ed..f1953675 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 93111da2..93855c6e 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 fdd9850e..f041e345 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 4125d799..7d239455 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 d03cd8ab..33dc1fb7 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 afc9cf1a..9baab661 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 51967137..13dad9a0 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 81e36754..2fe9a11e 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 37aef96c..e36f0a3b 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 0158e6e8..acb23dba 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 ee513228..1b33ac9a 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 3af2cd58..7495eefc 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 ce287854..90fbe3a9 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 0e13057d..d401c3ef 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 ec2eeed6..f5944805 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 58cf03f3..f2b6d7a4 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 e45ed380..7f8391e7 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 de6a1387..d33ad9e0 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 c83ac26f..b372d9b5 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 75837349..f91ef15f 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 569b0a45..5d16921b 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 4a8ddf4a..686c7bca 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 d0646899..6797458f 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 aa6541ca..45b53385 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 a4884a5f..b56fb8b7 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 426e8009..c39e8996 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 66de51af..fcf4470e 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 48e1c1af..3fdbaad4 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 5ecd428c..d12b0c0d 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 c4c8a921..579fc690 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 3c77bb75..72c92a38 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 e6d274bb..9d7d554c 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 a467881a..135181a4 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 a9f41e53..ade16047 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 a735a64c..3c1d84da 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 32d1d6a3..0b394ad0 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 bdc8a24c..7197d0a3 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 47d558fb..2f73241e 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 82735c46..342591ae 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 09399558..fa134ea9 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 8fa0253f..a72e3c73 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 a02f6e00..bf48aafe 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 0e625a1e..f4ed64db 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 555122ac..ffb16f65 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 3ddf110c..6da8b5af 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 2e012143..e567f8ef 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 e2bc7245..9c925744 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 1803f455..547991c6 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 ea090653..a2306890 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 759b0226..5ec7fae9 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 b3a2f6e9..7badbd85 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 97109e3a..c47bd15b 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 00857527..91197abb 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 c17f905b..020e9a0e 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 0459c873..ed576e27 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 61700b4c..6b2c7382 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 811bd209..409e9503 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 661864a0..101596e4 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