#!/usr/bin/make -f

# DH_VERBOSE := 1
export LC_ALL=C.UTF-8

export PYBUILD_NAME=pypubsub

include /usr/share/dpkg/default.mk

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

override_dh_installdocs:
	dh_installdocs
	find debian -name LICENSE_BSD_Simple.txt -delete
	mv `find debian/python3-$(PYBUILD_NAME) -name RELEASE_NOTES.txt` debian/python3-$(PYBUILD_NAME)/usr/share/doc/python3-$(PYBUILD_NAME)
