#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := bootstrap grammars

PKG = github.com/pointlander/peg

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

override_dh_auto_configure:
	dh_auto_configure
	cp -v $(CURDIR)/peg.peg _build/src/$(PKG)
