#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
pod2man := pod2man -r "dh-autoreconf v$(DEB_VERSION)" -c dh-autoreconf

%:
	dh $@

override_dh_auto_build:
	$(pod2man) --section=1 dh_autoreconf dh_autoreconf.1
	$(pod2man) --section=1 dh_autoreconf_clean dh_autoreconf_clean.1
	$(pod2man) --section=7 dh-autoreconf.pod dh-autoreconf.7

override_dh_clean:
	dh_clean dh_autoreconf.1 dh_autoreconf_clean.1 dh-autoreconf.7
