| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
# Sample debian/rules that uses debhelper. |
| 4 |
# This file was originally written by Joey Hess and Craig Small. |
| 5 |
# As a special exception, when this file is copied by dh-make into a |
| 6 |
# dh-make output file, you may use that output file without restriction. |
| 7 |
# This special exception was added by Craig Small in version 0.37 of dh-make. |
| 8 |
|
| 9 |
# Uncomment this to turn on verbose mode. |
| 10 |
#export DH_VERBOSE=1 |
| 11 |
|
| 12 |
# Through Autoconf we set hardening flags that are actually more aggressive |
| 13 |
# than the Ubuntu defaults, but they conflict with same. |
| 14 |
export DEB_BUILD_MAINT_OPTIONS = hardening=-stackprotector |
| 15 |
-include /usr/share/dpkg/buildflags.mk |
| 16 |
|
| 17 |
%: |
| 18 |
dh $@ --with autoreconf |
| 19 |
|
| 20 |
override_dh_auto_configure: |
| 21 |
dh_auto_configure -- \ |
| 22 |
--disable-silent-rules \ |
| 23 |
--enable-ufw \ |
| 24 |
--enable-completion \ |
| 25 |
--enable-compile-warnings=error |
| 26 |
|
| 27 |
override_dh_perl: |
| 28 |
# mosh only uses Perl modules in perl-base. |
| 29 |
dh_perl -d |