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

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

export PYBUILD_NAME=pyninjotiff
export PYBUILD_AFTER_INSTALL=\
rm -rf "{destdir}"/usr/lib/python3*/*-packages/pyninjotiff/*ninjotif*example*; \
chmod -x "{destdir}"/usr/lib/python3*/*-packages/pyninjotiff/ninjotiff.py

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

override_dh_auto_clean:
	# dh_auto_clean
	dh_clean
	$(RM) -r *.egg-info .pybuild
