1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = optimize=-lto
export deb_udevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,)
override_dh_auto_configure:
dh_auto_configure -- \
-Dudev-dir=/$(deb_udevdir) \
-Dtests=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),dis,en)abled
override_dh_auto_test:
dh_auto_test -- --timeout-multiplier=10
override_dh_install:
find debian/tmp -name '*.la' -delete
rm -rf debian/tmp/usr/share/libwacom/__pycache__
dh_install
override_dh_missing:
dh_missing --fail-missing
override_dh_strip:
dh_strip --dbgsym-migration='libwacom2-dbg (<< 1.1-2~)'
dh_strip -plibwacom-bin
%:
dh $@ \
--builddirectory=build/ \
--buildsystem=meson
|