2017-04-23 02:48:29 +02:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
# -*- makefile -*-
|
|
|
|
|
2017-12-22 00:43:45 +01:00
|
|
|
include /usr/share/dpkg/pkg-info.mk
|
|
|
|
|
2017-04-23 02:48:29 +02:00
|
|
|
# Uncomment this to turn on verbose mode.
|
|
|
|
#export DH_VERBOSE=1
|
|
|
|
|
|
|
|
# Uncomment this to change the hardening options
|
|
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
|
2017-12-22 00:43:45 +01:00
|
|
|
#VERSION=$(shell dpkg-parsechangelog |grep ^Version:|cut -d ' ' -f 2)
|
|
|
|
# following is to avoid a lintian warning, but untested
|
|
|
|
#VERSION=$(shell echo $DEB_VERSION |cut -d ' ' -f 2)
|
2017-04-23 02:48:29 +02:00
|
|
|
|
|
|
|
%:
|
2018-02-19 12:50:19 +01:00
|
|
|
dh $@ --with autoreconf,autotools_dev
|
2017-12-22 00:43:45 +01:00
|
|
|
# dh $@ --with dkms
|
2017-04-23 02:48:29 +02:00
|
|
|
|
|
|
|
override_dh_auto_configure:
|
|
|
|
dh_auto_configure -- \
|
|
|
|
--enable-distro \
|
|
|
|
--disable-examples \
|
2018-02-19 13:54:16 +01:00
|
|
|
--disable-silent-rules \
|
|
|
|
--disable-debug
|
2017-04-23 02:48:29 +02:00
|
|
|
|
|
|
|
override_dh_strip:
|
|
|
|
dh_strip --dbgsym-migration='libwolfssl3-dbg (<< 3.9.10-1~)'
|
|
|
|
|
|
|
|
#override_dh_dkms:
|
|
|
|
# dh_dkms -V $(VERSION)
|