#!/usr/bin/make -f
# uncomment to enable verbose mode for debhelper
#DH_VERBOSE = 1

%:
	# standard package build for python script
	dh $@ --with python3 --buildsystem=pybuild

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_clean:
	# rudimentary code check before doing anything
	debian/sanity.sh
	# normal dh_auto_clean
	dh_auto_clean -O--buildsystem=pybuild
endif

override_dh_auto_install:
	dh_auto_install --destdir debian/debmake
