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

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

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

override_dh_compress:
	dh_compress -X/examples/

override_dh_install:
	dh_install -X/usr/share/doc/pytsk
	dpkg-query --show \
		--showformat 'misc:Built-Using=$${Source:Package} (= $${source:Version})\n' \
		libtsk-dev \
	| tee -a debian/python3-tsk.substvars > /dev/null
