#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+pie,+bindnow
export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

%:
	dh $@ --parallel --list-missing

override_dh_fixperms:
	dh_fixperms
#	chown root:utmp debian/libutempter0/usr/lib/$(DEB_HOST_MULTIARCH)/utempter/utempter
	chown root:bin debian/libutempter0/usr/lib/$(DEB_HOST_MULTIARCH)/utempter/utempter
	chmod 2755 debian/libutempter0/usr/lib/$(DEB_HOST_MULTIARCH)/utempter/utempter

.PHONY: override_dh_auto_test
