#!/usr/bin/make -f

export DH_GOPKG := github.com/x-cray/logrus-prefixed-formatter
export DH_GOLANG_INSTALL_ALL := 1
export DH_GOLANG_EXCLUDES := examples

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

override_dh_auto_test:
	@echo "Tests are disabled for now"

override_dh_install:
	dh_install
	rm -f $(CURDIR)/debian/golang-github-x-cray-logrus-prefixed-formatter-dev/usr/share/gocode/src/github.com/x-cray/logrus-prefixed-formatter/.gitignore
