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

export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow

%:
	dh $@

override_dh_auto_build:
	dh_auto_build
	pod2html --title=libdogleg README.pod > libdogleg.html

# moved dogleg.h to /usr/include to be compatible with the older libdogleg-dev
# packages
override_dh_auto_install:
	dh_auto_install
	mv debian/tmp/usr/include/dogleg/* debian/tmp/usr/include/
	rmdir debian/tmp/usr/include/dogleg
