#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_clean:
	-dh_auto_clean
	-rm -f ./config.mk ./tests/*.o

override_dh_auto_configure:
	cp ./configs/linux.mk ./config.mk

override_dh_auto_build:
	dh_auto_build -- VERSION=$(DEB_VERSION)

override_dh_auto_install:
	dh_auto_install -- PREFIX=/usr
