#!/usr/bin/make -f

# Output every command that modifies files on the build system.
export DH_VERBOSE = 1

# Apply all hardening options
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		CFLAGS="$(CFLAGS) $(CPPFLAGS)" \
		CPPFLAGS="" \
		--with-systemd-startup

override_dh_installchangelogs:
	dh_installchangelogs --keep RELEASE_NOTES.md
