#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs DEB_BUILD_OPTIONS=nocheck %: dh $@ --with bash_completion CONFFLAGS = ifeq ($(DEB_HOST_ARCH_OS),linux) CONFFLAGS += \ -Dnetworkmanager=true \ -Dsystemd=true endif ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) CONFFLAGS += -Dtests=true else CONFFLAGS += -Dtests=false endif override_dh_auto_configure: GSETTINGS_SCHEMA_DIR=/opt/mutter-vrr/share/glib-2.0/schemas/:$(GSETTINGS_SCHEMA_DIR) PKG_CONFIG_PATH=/opt/mutter-vrr/lib/x86_64-linux-gnu/pkgconfig:$(PKG_CONFIG_PATH) LD_LIBRARY_PATH=/opt/mutter-vrr/lib/x86_64-linux-gnu:/opt/mutter-vrr/lib/x86_64-linux-gnu/mutter-11:/opt/mutter-vrr/lib/x86_64-linux-gnu/mutter-11/plugins:$(LD_LIBRARY_PATH) PATH=/opt/mutter-vrr/bin:$(PATH) dh_auto_configure -- \ --prefix=/opt/mutter-vrr \ --libdir=lib \ -Dextensions-tool:bash_completion=enabled \ $(CONFFLAGS) override_dh_makeshlibs: true override_dh_shlibdeps: true override_dh_auto_test: true