#!/usr/bin/make -f
# Generated by dh_make, customized by Stephen Moraco
# GNU copyright 1997 to 1999 by Joey Hess.

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

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --bindir=\$${prefix}/games

override_dh_autoreconf:
	# backup mkinstalldirs
	if [ -f $(CURDIR)/mkinstalldirs ]; then if [ ! -f $(CURDIR)/mkinstalldirs.debbackup ]; then cp -f $(CURDIR)/mkinstalldirs $(CURDIR)/mkinstalldirs.debbackup; fi; fi
	dh_autoreconf

override_dh_autoreconf_clean:
	dh_autoreconf_clean
	# restore mkinstalldirs
	if [ -f $(CURDIR)/mkinstalldirs.debbackup ]; then mv -f $(CURDIR)/mkinstalldirs.debbackup $(CURDIR)/mkinstalldirs; fi
