libfprint/debian/rules

27 lines
515 B
Plaintext
Raw Normal View History

2024-03-17 14:34:25 +01:00
#!/usr/bin/make -f
2024-03-17 14:25:36 +01:00
2024-03-17 14:41:26 +01:00
export DEB_BUILD_MAINT_OPTIONS = optimize=-lto
2024-03-17 14:34:25 +01:00
export DPKG_GENSYMBOLS_CHECK_LEVEL = 2
2024-03-17 14:25:36 +01:00
2024-03-17 14:34:25 +01:00
BUILDDIR = $(CURDIR)/obj-$(DEB_HOST_GNU_TYPE)
2024-03-17 14:25:36 +01:00
2024-03-17 14:34:25 +01:00
# Configuration arguments
CONFIG_ARGS = \
-Dudev_hwdb=enabled \
-Dudev_rules=enabled \
-Ddrivers=all \
-Dgtk-examples=false
2024-03-17 14:25:36 +01:00
2024-03-17 14:34:25 +01:00
%:
dh $@ --with gir
2024-03-17 14:25:36 +01:00
2024-03-17 14:34:25 +01:00
override_dh_auto_configure:
dh_auto_configure -- $(CONFIG_ARGS)
2024-03-17 14:25:36 +01:00
2024-03-17 14:34:25 +01:00
override_dh_auto_test:
dh_auto_test -- -C $(BUILDDIR) --timeout-multiplier 5
2024-03-17 14:25:36 +01:00
2024-03-17 14:34:25 +01:00
override_dh_auto_clean:
rm -rf tests/__pycache__
dh_auto_clean