#!/usr/bin/make -f
# export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --with-python=/usr/bin/python3

override_dh_auto_test:
	:

execute_after_dh_auto_build-indep:
ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
	sphinx-build -c docs/manual -b html docs/manual docs/manual/html
endif
