#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	# Abort if the same file is going to be installed in both
	# kali-defaults and kali-defaults-desktop
	./bin/check-duplicates
	# Abort if the maintainer scripts are not up-to-date
	sha1sum debian/*.p*inst debian/*.p*rm > maintscripts.checksums
	./bin/update-maintainer-scripts
	sha1sum --check --quiet maintscripts.checksums
	rm maintscripts.checksums

override_dh_installgsettings:
	# Use 20 as priority as recommended by dh_installgsettings(1)
	# since we're a Debian derivative
	dh_installgsettings --priority=20
