#!/usr/bin/make -f

export PYBUILD_NAME=construct_classes

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_install::
	# Remove license files whose information has been copied to debian/copyright.
	rm debian/python3-construct-classes/usr/lib/python3*/dist-packages/LICENSE

	# Remove changelog, already copied to to /usr/share/doc/python3-construct-classes.
	rm debian/python3-construct-classes/usr/lib/python3*/dist-packages/CHANGELOG.rst

	# Remove readme, already copied to /usr/share/doc/python3-construct-classes.
	rm debian/python3-construct-classes/usr/lib/python3*/dist-packages/README.rst
