#!/usr/bin/make -f

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

# the following is necessary to prevent FTBFS
export DEB_BUILD_MAINT_OPTIONS=hardening=-fortify
$(info DEB_BUILD_MAINT_OPTIONS:$(origin DEB_BUILD_MAINT_OPTIONS)=$(DEB_BUILD_MAINT_OPTIONS))

# libept 1.1 requires C++11 mode
export DEB_CXXFLAGS_MAINT_APPEND := -std=c++11

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --disable-silent-rules

override_dh_auto_build:
	convert data/icons/Icon32.png debian/goplay.xpm
	dh_auto_build
