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

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

VERSION=$(shell dpkg-parsechangelog | sed -n '/^Version:/ { s/^Version: //; p}')

%:
	dh $@ 

execute_after_dh_install:
	mkdir -p debian/dh-migrations/usr/share/man/man1/
	pod2man -c Debhelper -r "$(VERSION)" debhelper/dh_migrations debian/dh-migrations/usr/share/man/man1/dh_migrations.1

override_dh_auto_test:
	LC_ALL=C.UTF-8 dh_auto_test
