#!/usr/bin/make -f
# -*- makefile -*-

export DH_OPTIONS

# Verbose mode
#export DH_VERBOSE=1
export PYBUILD_NAME=cobbler-tftp
export PYBUILD_OPTION_INTERPRETER="-B"

# Use Bash so we can set the required environment variables
SHELL = /bin/bash

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

override_dh_auto_clean:
	dh_auto_clean
	rm -rf docs/_build

override_dh_install:
	dh_install --sourcedir="debian/python3-cobbler-tftp"

# Skip test execution: running under pybuild currently fails with
# "ModuleNotFoundError: No module named 'src'" for the migrations tests.
override_dh_auto_test:
