#!/usr/bin/make -f

# Errors with default -Werror=format-security that needs to be
# patched and/or fixed upstream.
export DEB_CFLAGS_MAINT_APPEND = -Wno-format -Wno-format-security

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --with-glib --with-syslog --with-no-ipc

override_dh_fixperms:
	dh_fixperms
	find debian -name "*.xml" -exec chmod 644 {} +
