1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
CONFIGURE_OPTS=--wrap-mode=default
ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
CONFIGURE_OPTS += -Dtests=false
endif
%:
dh $@ --builddirectory=_build
override_dh_auto_configure:
dh_auto_configure -- $(CONFIGURE_OPTS)
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
dbus-run-session meson test -C _build
endif
override_dh_auto_clean:
dh_auto_clean
find subprojects/ -type f -name '.meson-subproject-wrap-hash.txt' -delete
|