#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := examples

%:
	dh $@ --builddirectory=_build --buildsystem=golang --with=golang

execute_after_dh_auto_test:
	# The leftover testdata makes lintian upset. Drop them after tests.
	chmod -R ugo+rwx _build/src/github.com/bmatcuk/doublestar/testdata/nopermission
	$(RM) -r _build/src/github.com/bmatcuk/doublestar/testdata
