#!/usr/bin/make -f
export PYBUILD_NAME=ec2-hibinit-agent

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

override_dh_systemd_enable:
	dh_systemd_enable --name=hibinit-agent

override_dh_installinit:
	dh_installinit --noscripts --name=hibinit-agent

override_dh_systemd_start:
	dh_systemd_start --name=hibinit-agent

#override_dh_auto_build:
#	dh_auto_build --buildsystem=pybuild
#	# Build sphinx html documentation and man pages 
#	python3 setup.py build_sphinx -b html
#	python3 setup.py build_sphinx -b man

# the package does not provide tests
override_dh_auto_test:

