#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := \
 internal/words \
 config \
 detect/assets \


%:
	dh $@ --builddirectory=debian/_build --buildsystem=golang

override_dh_auto_install:
	dh_auto_install -- --no-binaries

override_dh_fixperms:
	dh_fixperms
	# Drop executable bits to make lintian happy
	find debian/$(SOURCE_NAME) -type f -executable -not -name "*.sh" -exec chmod -x {} +

