4include /usr/share/dpkg/default.mk
6# Uncomment this to turn on verbose mode.
8export DPKG_GENSYMBOLS_CHECK_LEVEL=4
9export NO_PNG_PKG_MANGLE=1
12DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
14# Skip tests on the archs they are known to be flaky with current configuration
15testskip_architectures := arm64 powerpc ppc64el s390x
17DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
19# Skip tests on the archs they are known to be flaky with current configuration
20testskip_architectures := arm64
23 dh $@ --parallel --fail-missing --with python3
25override_dh_auto_configure:
26 # Debian defines CMAKE_INSTALL_LOCALSTATEDIR as /usr/var, which is wrong.
27 # So until Debian bug 719148 is fixed, do it ourselves.
28 dh_auto_configure -- -DCMAKE_INSTALL_LOCALSTATEDIR="/var"
30override_dh_auto_build:
31 # doc is not a default target
32 dh_auto_build -- -O all doc
35 # Run the entire test battery
36 # Parallel tests have a risk of starting xvfb on the same DISPLAY multiple times,
37 # causing the whole battery to fail.
38ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
39ifneq (,$(filter $(DEB_HOST_ARCH),$(testskip_architectures)))
40 -dh_auto_test --no-parallel -- -O -k xvfballtests
42 dh_auto_test --no-parallel -- -O -k xvfballtests
47 # install autopilot tests
49 set -ex; for python in $(shell py3versions -r); do \
50 $$python setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \
53 dh_install -X'*.pyc' --fail-missing
55# use private lib directories
56override_dh_makeshlibs:
57 dh_makeshlibs -Nunity8-private -Nunity8-tests
60 # Some mock libraries link against liblightdm-qt5-3.so which we want to
61 # avoid, since we only really link against our mock one, not the system one.
62 dh_shlibdeps -XlibMockAccountsService-qml.so -Lunity8-private
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list