#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := web/static

%:
	dh ${@} --builddirectory=debian/_build --buildsystem=golang

execute_before_dh_auto_configure:
	npm --prefix web/app install
	npm --prefix web/app run build

override_dh_auto_install:
	dh_auto_install -- --no-source
