#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
        -Duse_system_spdlog=enabled \
        -Dwith_nvml=disabled \
        -Dwith_xnvctrl=enabled \
        -Dwith_wayland=enabled \
        -Dmangoapp=true \
        -Dmangohudctl=true \
        -Dmangoapp=true \
        -Dmangoplot=enabled

# No dbgsym packages:
override_dh_strip:
	@echo "NO--THANKS ANYWAY--but not building dbgsym packages for MX Linux"
	dh_strip --no-automatic-dbgsym
