#!/usr/bin/make -f

# export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_install:
	dh_auto_install --destdir debian/tmp

execute_after_dh_clean:
# remove generated docs and build artefacts left between builds
	rm -vf doc/guile-curl.info doc/stamp-vti doc/version.texi \
	      module/curl.go check_type *.log test/*.trs test/*.log || true

override_dh_makeshlibs:
	dh_makeshlibs -a --exclude=.go
