on d28fa91 help sign in
unity8/debian/rules
42 lines 1.1 kB history raw
1#!/usr/bin/make -f
2# -*- makefile -*-
4include /usr/share/dpkg/default.mk
6# Uncomment this to turn on verbose mode.
7#export DH_VERBOSE=1
8export DPKG_GENSYMBOLS_CHECK_LEVEL=4
9export NO_PNG_PKG_MANGLE=1
11%:
12 dh $@ --parallel --fail-missing --with python3
14override_dh_auto_clean:
15 dh_auto_clean
16 rm -rf builddir
18override_dh_auto_configure:
19 # Debian defines CMAKE_INSTALL_LOCALSTATEDIR as /usr/var, which is wrong.
20 # So until Debian bug 719148 is fixed, do it ourselves.
21 dh_auto_configure -- -DCMAKE_INSTALL_LOCALSTATEDIR="/var"
23override_dh_auto_build:
24 # doc is not a default target
25 dh_auto_build -- all doc
27override_dh_install:
28 # install autopilot tests
29 cd tests/autopilot; \
30 set -ex; for python in $(shell py3versions -r); do \
31 $$python setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \
32 done; \
33 cd $(CURDIR)
34 dh_install -X'*.pyc' --fail-missing
36# use private lib directories
37override_dh_makeshlibs:
38 dh_makeshlibs -Nunity8-private -Nunity8-fake-env
40# libMockLightDM-qml.so links against liblightdm-qt5-2.so which doesn't exist
41override_dh_shlibdeps:
42 dh_shlibdeps -XlibMockLightDM-qml.so