#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure: debian/awesome.xpm
	dh_auto_configure -- -DSYSCONFDIR=/etc

debian/awesome.xpm: icons/awesome32.png
	convert $< $@

override_dh_auto_test:
	# don't run upstream check target during build.
	# unit tests are already run at beginning of build.
	# tests that would be executed here are integration tests
	# that are more suited for an autopkgtest (running in virtual X server)
