#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
export DH_OPTIONS=-v
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --parallel --with autoreconf,python2

override_dh_install:
	( find $(CURDIR)/debian/tmp/usr/share/games/cyphesis/rulesets/ -name *.py -print | xargs chmod a-x )
	dh_install --list-missing -X.la -X.a

override_dh_installinit:
	dh_installinit --noscripts

override_dh_auto_configure:
	dh_auto_configure -- --bindir=/usr/games --datadir=/usr/share/games
