#!/usr/bin/make -f

export PYBUILD_NAME = pcaff
export PYBUILD_SYSTEM = pyproject

ifeq ($(PYBUILD_AUTOPKGTEST),1)
export PCAFF_TEST_BASH_COMPLETION = /usr/share/bash-completion/completions/pcaff-control.bash
export PCAFF_TEST_MAIL_TEMPLATE = /etc/pcaff/mail_template.txt.j2
endif

%:
	dh $@ --buildsystem=pybuild --with=single-binary

execute_after_dh_auto_install:
	rm -f debian/pcaff/usr/lib/python3/dist-packages/pcaff-*.dist-info/top_level.txt
