#!/usr/bin/make -f

export LC_ALL = C.UTF-8

%:
	dh $@ --buildsystem cargo

# loggerhead-doc (Architecture: all) ships the manual rendered with mdbook.
override_dh_auto_build-indep:
	mdbook build docs

# There is nothing to cargo-test or cargo-install for the documentation-only
# build; the binary package handles those during the arch build.
override_dh_auto_test-indep:

override_dh_auto_install-indep:

override_dh_auto_clean:
	dh_auto_clean
	rm -rf docs/book
