#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
	dh "$@"

# plain dh_auto_configure uses options which configure does not understand
override_dh_auto_configure:
	./configure --prefix=/usr --bindir=/usr/games \
		--datadir=/usr/share/games
# needed because dh_autoreconf overwrites our configure wrapper
override_dh_autoreconf:
	$(MAKE) configure.sh
