#!/usr/bin/make -f

# use local fork of debcargo and dh-cargo
PATH := $(CURDIR)/debian/dh-cargo/bin:$(PATH)
PERL5LIB = $(CURDIR)/debian/dh-cargo/lib
export PATH PERL5LIB

# TODO: drop when bug#1022895 is resolved
export RUST_BACKTRACE=full

%:
	dh $@ --buildsystem cargo
