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
18 dh $@ --parallel --fail-missing --with python3
20override_dh_auto_configure:
21 # Debian defines CMAKE_INSTALL_LOCALSTATEDIR as /usr/var, which is wrong.
22 # So until Debian bug 719148 is fixed, do it ourselves.
23 dh_auto_configure -- -DCMAKE_INSTALL_LOCALSTATEDIR="/var"
25override_dh_auto_build:
26 # doc is not a default target
27 dh_auto_build -- -O all doc
30 # Run the entire test battery
31 # Parallel tests have a risk of starting xvfb on the same DISPLAY multiple times,
32 # causing the whole battery to fail.
33ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
34ifneq (,$(filter $(DEB_HOST_ARCH),$(testskip_architectures)))
35 -dh_auto_test --no-parallel -- -O -k xvfballtests
37 dh_auto_test --no-parallel -- -O -k xvfballtests
42 # install autopilot tests
44 set -ex; for python in $(shell py3versions -r); do \
45 $$python setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \
48 dh_install -X'*.pyc' --fail-missing
50# use private lib directories
51override_dh_makeshlibs:
52 dh_makeshlibs -Nunity8-private -Nunity8-tests
55 # Some mock libraries link against liblightdm-qt5-3.so which we want to
56 # avoid, since we only really link against our mock one, not the system one.
57 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