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

export DH_OPTIONS += -O-Bdebian/build-tree

override_dh_autoreconf:
	dh_autoreconf ./autogen.sh

override_dh_installdocs:
	dh_installdocs --link-doc=libumberlog1

override_dh_auto_build:
	dh_auto_build
	rst2man lib/umberlog.rst debian/build-tree/lib/umberlog.3

override_dh_installchangelogs:
	dh_installchangelogs NEWS

%:
	dh $@ --with autoreconf
