1#!/usr/bin/make -f 2 3# Uncomment this to turn on verbose mode. 4#export DH_VERBOSE=1 5 6DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow 7DEB_CFLAGS_MAINT_PREPEND = -Wall 8DEB_BUILD_OPTIONS += nocheck 9 10include /usr/share/dpkg/default.mk 11include /usr/share/dpkg/buildtools.mk 12 13%: 14 dh $@ --parallel 15 16override_dh_auto_configure: 17 ./configure \ 18 --prefix=/usr \ 19 --includedir=/usr/include \ 20 --datadir=/usr/share \ 21 --mandir=/usr/share/man \ 22 --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \ 23 --libdevdir=/usr/lib/$(DEB_HOST_MULTIARCH) \ 24 --cc=$(CC) 25 26override_dh_auto_test: 27ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) 28 $(MAKE) runtests 29endif 30