#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --disable-ncurses --soname=0 --with-sqlite=auto

execute_after_dh_auto_build-indep:
	$(MAKE) -C doc doc
# Temporary fix for non-determinism in graphviz
	find doc/libfossil-API-html -type f -name '*.svg' -exec sed -i 's/id="page0,1_graph0"/id="graph0"/g' {} +
