#!/usr/bin/make -f

PY2VERS = $(shell pyversions -v -r debian/control)
PY3VERS = $(shell py3versions -v -r debian/control)
PYVERS = $(PY3VERS)
DESTDIR = /usr/src/packages/BUILD/debian/python3-voccer

%:
	dh $@ --with python3 --buildsystem pybuild --with=systemd

override_dh_auto_test:
	echo "Test are turned of because they are not working"

override_dh_install:
	install -D -m 644 systemd/voccer.service $(DESTDIR)/lib/systemd/system/voccer.service
	install -D -m 644 systemd/voccer.env $(DESTDIR)/etc/voccer/voccer.env
	dh_install
