debian/rules: Use dh_perl -d

By informing Debhelper that the mosh wrapper script only uses modules in
perl-base (dh_perl -d), we cause ${perl:Depends} to change from ‘perl’
to empty, which silences this build warning:

dpkg-gencontrol: warning: package mosh: unused substitution variable ${perl:Depends}

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2016-01-04 14:49:12 -05:00
committed by John Hood
parent 9cf54e388e
commit 8816493ec9
+4
View File
@@ -23,3 +23,7 @@ override_dh_auto_configure:
--enable-ufw \
--enable-completion \
--enable-compile-warnings=error
override_dh_perl:
# mosh only uses Perl modules in perl-base.
dh_perl -d