3
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
4
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
5
DEB_HOST_ARCH_ENDIAN ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_ENDIAN)
6
EXACT_PACKAGE_VERSION = $(shell dpkg-parsechangelog | grep Version | cut -d' ' -f 2)
8
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
11
dh $@ --parallel --fail-missing --with python3
13
COMMON_CONFIGURE_OPTIONS = \
14
-DCMAKE_INSTALL_LIBEXECDIR="lib/$(DEB_HOST_MULTIARCH)/miral"\
16
ifeq ($(filter noopt,$(DEB_BUILD_OPTIONS)),noopt)
17
COMMON_CONFIGURE_OPTIONS += -DMIRAL_USE_LTO=OFF
19
COMMON_CONFIGURE_OPTIONS += -DMIRAL_USE_LTO=ON
22
# Only build the docs when we need them
23
override_dh_auto_build-indep: