#!/usr/bin/make -f

export DH_GOLANG_GO_GENERATE := 1

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

override_dh_auto_install:
	dh_auto_install
	# dh-golang tries to install examples - clean up after it
	rm -r $(CURDIR)/debian/golang-github-fluent-fluent-logger-golang-dev/usr/share/gocode/src/github.com/fluent/fluent-logger-golang/_examples
