#!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --builddirectory=_build --buildsystem=golang --with=golang override_dh_auto_install: $(MAKE) install PREFIX=/usr BUILDDIR=_build DESTDIR=$(CURDIR)/debian/oci-seccomp-bpf-hook execute_after_dh_auto_clean: rm -f docs/oci-seccomp-bpf-hook.1 execute_before_dh_auto_configure: copyright-scan copyright-scan: scan-copyrights >debian/$@.new.tmp 2>debian/$@.new.todo.tmp (sed -e 's/^/# /' debian/$@.new.todo.tmp; echo; cat debian/$@.new.tmp) >debian/$@.new diff -u debian/$@ debian/$@.new rm debian/$@.new* copyright-update: copyright-scan cme update -q dpkg-copyright