#!/usr/bin/make -f

export MULTIARCH  ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_install:
	dh_install
	mv $(CURDIR)/debian/libpam-geoip/etc/security/geoip.default.conf \
		$(CURDIR)/debian/libpam-geoip/etc/security/geoip.conf

override_dh_auto_build:
	sh make_config_h.sh
	dh_auto_build

override_dh_strip:
	dh_strip --no-automatic-dbgsym
