#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := web/static

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

execute_before_dh_auto_build:
	# FIXME: needs build-depends packaged first before this can be uploaded to Debian
	cd web/app && npm install && npm run build

override_dh_auto_install:
	dh_auto_install -- --no-source
