#!/usr/bin/make -f

%:
	dh $@ -Smeson

override_dh_auto_configure:
	dh_auto_configure -- \
	--buildtype="release" \
	-Denable_docs=true

#	exit 1

execute_before_dh_install:
	LD_LIBRARY_PATH=$(CURDIR):$(LD_LIBRARY_PATH) help2man -N --no-discard-stderr --name="dav1d \- fast and small AV1 video stream decoder" debian/tmp/usr/bin/dav1d  > debian/dav1d.1

override_dh_installchangelogs:
	dh_installchangelogs NEWS
