#!/usr/bin/make -f

%:
	dh $@ --builddirectory=. --parallel

override_dh_clean:
	rm -rf bin/* OpenRPT/Dmtx_Library
	dh_clean

override_dh_auto_configure:
	lrelease */*/*.ts */*.ts
	dh_auto_configure

override_dh_auto_install:
	mv bin/graph bin/openrpt-graph
	dh_auto_install

get-orig-source:
	@d=$$(readlink -e $(MAKEFILE_LIST)); \
	cd $${d%/*}/..; \
	debian/get-orig-source.sh $(CURDIR) +dfsg

.PHONY: override_dh_auto_install override_dh_clean get-orig-source
