#!/usr/bin/make -f export DH_GOLANG_INSTALL_EXTRA := _lua5.1-tests _glua-tests # Do not build or ship the glua example binary (cmd/glua). export DH_GOLANG_EXCLUDES := cmd/ PKGDIR := debian/$(shell dh_listpackages) GOSRCDIR := $(PKGDIR)/usr/share/gocode/src/github.com/yuin/gopher-lua %: dh $@ --builddirectory=debian/_build --buildsystem=golang execute_after_dh_auto_install: rm -f $(GOSRCDIR)/_lua5.1-tests/README \ $(GOSRCDIR)/_lua5.1-tests/libs/.gitignore \ $(GOSRCDIR)/_lua5.1-tests/libs/P1/.gitignore