#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with autoreconf --with linktree

override_dh_auto_configure:
	dh_auto_configure -- --enable-doxygen-dot --enable-doxygen-pdf

override_dh_auto_build:
	dh_auto_build
	$(MAKE) -C lib doxygen-doc

override_dh_installdocs:
	dh_installdocs
	find debian -name "*_*.md5" -delete

override_dh_compress:
	dh_compress -Xlibrostlab.tag

get-orig-source:
	mkdir -p ../tarballs
	uscan --verbose --force-download --destdir=../tarballs
