#!/usr/bin/make -f # -*- makefile -*- export DH_VERBOSE=1 export QT_QPA_PLATFORM=minimal ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) DEB_PARALLEL_JOBS ?= $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) else DEB_PARALLEL_JOBS += $(shell getconf _NPROCESSORS_ONLN) endif DPKG_EXPORT_BUILDFLAGS = 1 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) include /usr/share/dpkg/buildflags.mk %: dh $@ --buildsystem=qmake --parallel override_dh_auto_build: make make doc override_dh_clean: dh_clean override_dh_auto_test: make test override_dh_install: dh_install --fail-missing %: dh $@ --parallel