#!/usr/bin/make -f

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

%:
	dh $@ --buildsystem=meson

override_dh_auto_configure:
	dh_auto_configure -- \
	    --libdir=lib/$(DEB_HOST_MULTIARCH)/dino-im \
	    -Dplugindir=plugins

override_dh_auto_test:

execute_before_dh_auto_build:
	dpkg-parsechangelog --show-field Version > VERSION
