Files
mosh/debian/rules
T
Anders Kaseorg 8816493ec9 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>
2016-01-16 17:50:45 -05:00

30 lines
922 B
Makefile
Executable File

#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# Through Autoconf we set hardening flags that are actually more aggressive
# than the Ubuntu defaults, but they conflict with same.
export DEB_BUILD_MAINT_OPTIONS = hardening=-stackprotector
-include /usr/share/dpkg/buildflags.mk
%:
dh $@ --with autoreconf
override_dh_auto_configure:
dh_auto_configure -- \
--disable-silent-rules \
--enable-ufw \
--enable-completion \
--enable-compile-warnings=error
override_dh_perl:
# mosh only uses Perl modules in perl-base.
dh_perl -d