#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

execute_after_dh_auto_install:
	# remove tests
	rm -rf debian/tmp/opt
	rm -rf debian/tmp/usr/share/accounts/services/testsync-ovi.service

override_dh_installsystemduser:
	dh_installsystemduser --name msyncd

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..
