#!/usr/bin/make -f

DEB_HOST_MULTIARCH  ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow,+fortify

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-doxygen-docs

override_dh_installdocs:
	dh_installdocs -plibfakekey-dev
	dh_installdocs --doc-main-package=libfakekey0 -plibfakekey-doc
	dh_installdocs -plibfakekey0
