#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all DEB_CONFIGURE_EXTRA_FLAGS := \ --bindir=/usr/games \ --enable-unittests=yes \ --without-dyecmd \ --with-sdl2 \ --with-unittestsdir=testsdir override_dh_auto_configure: dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS) override_dh_clean: rm -rf $(CURDIR)/src/testsdir dh_clean override_dh_install: dh_install rm -f $(CURDIR)/debian/manaplus-data/usr/share/manaplus/data/themes/jewelry/LICENSE.txt rm -f $(CURDIR)/debian/manaplus-data/usr/share/manaplus/data/themes/jewelry-simple/LICENSE.txt rm -f $(CURDIR)/debian/manaplus-data/usr/share/manaplus/data/themes/golden-delicious/LICENSE.txt chmod -x $(CURDIR)/debian/manaplus-data/usr/share/icons/hicolor/scalable/apps/manaplus.svg || true %: dh $@