#!/usr/bin/make -f

export DH_GOPKG := mcpwn
export DH_GOLANG_GO_GENERATE := 1
export DH_GOLANG_INSTALL_ALL := 1
export GO111MODULE := on
export GOFLAGS := -mod=vendor
export HOME := $(shell pwd)
VERSION := $(shell dpkg-parsechangelog -S Version | cut -d- -f1)
DATE := $(shell date -u +%Y-%m-%dT%H:%M:%SZ)

export DH_GOLANG_LDFLAGS := -s -w -X main.Version=$(VERSION) -X main.Date=$(DATE)

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

override_dh_auto_test:

