debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | |
| 5 | %: |
| 6 | dh $@ --buildsystem=meson |
| 7 | |
| 8 | override_dh_auto_configure: |
| 9 | dh_auto_configure -- \ |
| 10 | -Dtools=true |
| 11 | |
| 12 | override_dh_auto_test: |
| 13 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 14 | ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armhf)) |
| 15 | V= make test CFLAGS:="$(CPPFLAGS) $(CFLAGS)" LDFLAGS:="$(LDFLAGS)" |
| 16 | endif |
| 17 | endif |
| 18 | |
| 19 | execute_after_dh_auto_clean: |
| 20 | V= make clean |