#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CFLAGS_MAINT_APPEND=-DGOBJECT_INTROSPECTION=true -DICAL_GLIB_VAPI=true

%:
	dh $@ --buildsystem=cmake --no-parallel --list-missing \
		--dbgsym-migration='libical-dbg (<< 2~)'

ifneq (,$(filter $(DEB_HOST_ARCH), kfreebsd-amd64 kfreebsd-i386))
override_dh_auto_test:
	: # the tests hang on the buildds, don't run them
	: -dh_auto_test
endif
