#!/usr/bin/make -f
#export DH_VERBOSE=1
export PYBUILD_NAME=httpbin

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

override_dh_installdocs:
	pandoc -f rst -t plain -o .pybuild/README README.rst
	dh_installdocs .pybuild/README

override_dh_installchangelogs:
	sed -n '/'Changelog'/,/'0.1.0'/p' .pybuild/README > .pybuild/CHANGELOG
	dh_installchangelogs .pybuild/CHANGELOG
