#!/usr/bin/make -f
export DEB_BUILD_OPTIONS += noautodbgsym

export DESTDIR = debian/tmp
export VENDOR ?= 1

%:
	dh $@

override_dh_auto_clean:
	cargo clean
	rm -Rf vendor target

override_dh_auto_build:
	just build-vendored

override_dh_auto_install:
	just rootdir=$(DESTDIR) install
