#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with-dbus-service-dir=/lib/systemd/user --prefix=/usr --wrap-mode=forcefallback --with_daemon=true

override_dh_install:
	mv obj-x86_64-linux-gnu/example/example obj-x86_64-linux-gnu/example/gamemode-simulate-game
	dh_install

override_dh_missing:
	dh_missing --fail-missing

override_dh_makeshlibs:
	dh_makeshlibs -- -c4

override_dh_installsystemduser:
	dh_installsystemduser --no-enable
