#!/usr/bin/make -f

#export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with kf6

override_dh_auto_configure:
	dh_auto_configure -Skf6 -- \
	  -DCMAKE_INSTALL_BINDIR=/usr/games \
	  -DQML_BOX2D_MODULE=disabled \
	  -DBUILD_TESTING=ON \
	  -DCOMPILE_DOC=ON \
	  -DPACKAGE_SERVER=ON

override_dh_auto_test:
	xvfb-run -a dh_auto_test
