File: rules

package info (click to toggle)
phosh-mobile-settings 0.53.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 3,188 kB
  • sloc: ansic: 22,406; xml: 798; sh: 18; makefile: 14
file content (22 lines) | stat: -rwxr-xr-x 534 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# phoc prints warnings as there's no dmabuf support so skip the tests
SKIP_TESTS_ARCHES=ppc64el riscv64

%:
	dh $@ --builddirectory=_build

override_dh_auto_configure:
	dh_auto_configure -- $(MESON_OPTS)

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp

ifneq (,$(filter $(DEB_HOST_ARCH), $(SKIP_TESTS_ARCHES)))
override_dh_auto_test:
else
override_dh_auto_test:
	XDG_RUNTIME_DIR=. HOME=. xvfb-run -s -noreset -a dbus-run-session dh_auto_test
endif