| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
include /usr/share/dpkg/default.mk |
| 7 |
|
| 8 |
export DEB_BUILD_MAINT_OPTIONS := qa=+bug hardening=+all reproducible=+all |
| 9 |
export DPKG_GENSYMBOLS_CHECK_LEVEL := 4 |
| 10 |
|
| 11 |
ifneq ($(filter nocheck,$(DEB_BUILD_PROFILES)),) |
| 12 |
CONFIGURE_FLAGS += -Dtests=false |
| 13 |
else |
| 14 |
CONFIGURE_FLAGS += -Dtests=true |
| 15 |
endif |
| 16 |
|
| 17 |
%: |
| 18 |
dh $@ --builddirectory=build/ \ |
| 19 |
--buildsystem=meson |
| 20 |
|
| 21 |
override_dh_auto_configure: |
| 22 |
dh_auto_configure -- $(CONFIGURE_FLAGS) |
| 23 |
|
| 24 |
override_dh_installdocs: |
| 25 |
dh_installdocs -plibtsm-dev --link-doc=libtsm4 |
| 26 |
dh_installdocs --remaining-packages |