#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

%:
	dh $@

ifneq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
override_dh_auto_configure:
	dh_auto_configure -- -Ddocs=disabled

override_dh_install-indep:
	echo "usr/share/doc/serd-*/singlehtml/" has not bee built, skipping
endif

override_dh_installchangelogs:
	dh_installchangelogs NEWS
