#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/dpkg/pkg-info.mk
export GOVER := $(shell echo '$(DEB_VERSION_UPSTREAM)' | sed -e 's/[~+].*$$//')

%:
	dh $@

override_dh_gencontrol:
	dh_gencontrol -- -Vgolang:Version=$(GOVER)
