#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with pkgkde_symbolshelper

override_dh_auto_configure:
	sed -i 's/arch=!armel/optional=meh/' debian/libnitrokey3.symbols
	dh_auto_configure

override_dh_auto_clean:
	dh_auto_clean
	sed -i 's/optional=meh/arch=!armel/' debian/libnitrokey3.symbols
