#!/usr/bin/make -f

# do not run checks after build
DEB_BUILD_OPTIONS=nocheck

# select an install target
DEB_MAKE_INSTALL_TARGET=install \
		DESTDIR=`pwd`/debian/bugsquish \
		BIN_PREFIX=`pwd`/debian/bugsquish/usr/games/ \
		DATA_PREFIX=`pwd`/debian/bugsquish/usr/share/games/bugsquish/data/

binary-post-install/bugsquish::
	install -o root -g root -m 644 data/images/bugsquish-icon.xpm \
	debian/bugsquish/usr/X11R6/include/X11/pixmaps/

# use the make install target
include /usr/share/cdbs/1/class/makefile.mk

# This implements the .deb package creation using debhelper.
include /usr/share/cdbs/1/rules/debhelper.mk

