#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release -DSYSTEMD_SERVICE=ON

override_dh_auto_test:
	dh_auto_test --no-parallel

override_dh_installsystemd:
	dh_installsystemd --no-enable --no-start
