#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_build-indep:

override_dh_auto_install-indep:

override_dh_auto_test-indep:

execute_before_dh_auto_build-arch:
	# False positive from blhc. See #1125781.
	@echo 'blhc: ignore-line-regexp: /usr/(bin|lib)/(ccache/)?c\+\+ (?:-std=\S+ )?-w -dM -E (?:-c )?/usr/share/cmake-[0-9.]+/Modules/CMakeCXXCompilerABI.cpp .*'

execute_after_dh_fixperms-indep:
	find debian/pokerth-data -type f -executable | xargs chmod -x

execute_after_dh_installman-arch:
	mv debian/pokerth/usr/share/man/man6/pokerth.6 debian/pokerth/usr/share/man/man6/pokerth_client.6
