#!/usr/bin/make -f

pkg := $(shell dpkg-parsechangelog --show-field=Source)
tmp := $(CURDIR)/debian/$(pkg)

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	rm --verbose $(tmp)/usr/share/perl5/Dancer/Session/README.pod
override_dh_installdocs:
	dh_installdocs
	pod2text $(CURDIR)/README.pod > $(tmp)/usr/share/doc/$(pkg)/README.txt
