#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ --buildsystem=meson

override_dh_auto_configure:
	dh_auto_configure -- -Dbindir=games

override_dh_builddeb:
	dh_builddeb -- -Zgzip

execute_after_dh_install:
	install -m 0644 -D debian/apparmor-profile debian/lutris/etc/apparmor.d/lutris-bwrap-userns-restrict
	dh_apparmor --profile-name=lutris-bwrap-userns-restrict
