#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1

# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

export PBR_VERSION=0.5.5

# main packaging script based on dh7 syntax
%:
	dh $@ --with python3 --buildsystem=pybuild


override_dh_auto_install:
	cp $(CURDIR)/contrib/systemd/anycast-healthchecker.service $(CURDIR)/debian/anycast-healthchecker.service

	dh_auto_install


override_dh_installinit:
	dh_installinit -n
