#!/usr/bin/make -f # -*- makefile -*- include /usr/share/dpkg/default.mk # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DPKG_GENSYMBOLS_CHECK_LEVEL=4 export NO_PNG_PKG_MANGLE=1 %: dh $@ --parallel --fail-missing --with python3,systemd override_dh_auto_configure: # Debian defines CMAKE_INSTALL_LOCALSTATEDIR as /usr/var, which is wrong. # So until Debian bug 719148 is fixed, do it ourselves. dh_auto_configure -- -DCMAKE_INSTALL_LOCALSTATEDIR="/var" override_dh_auto_build: # doc is not a default target dh_auto_build -- all doc override_dh_install: # install autopilot tests cd tests/autopilot; \ set -ex; for python in $(shell py3versions -r); do \ $$python setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \ done; \ cd $(CURDIR) dh_install -X'*.pyc' --fail-missing # use private lib directories override_dh_makeshlibs: dh_makeshlibs -Nunity8-private -Nunity8-tests override_dh_shlibdeps: # Some mock libraries link against liblightdm-qt5-3.so which we want to # avoid, since we only really link against our mock one, not the system one. dh_shlibdeps -XlibMockAccountsService-qml.so -Lunity8-private