#!/usr/bin/make -f

export DEB_CXXFLAGS_MAINT_APPEND=-std=c++11
export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs,--as-needed

%:
	dh $@

override_dh_clean:
	dh_clean po/.intltool-merge-cache debian/monster-masher.6 \
		intltool-extract intltool-merge intltool-update \
		monster-masher.schemas

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

override_dh_auto_build:
	# Generate manpage
	docbook-to-man debian/manpage.sgml > debian/monster-masher.6

	dh_auto_build

override_dh_auto_test:

