#!/usr/bin/make -f export HOME=$(CURDIR)/debian/deb_build_home export DEB_BUILD_MAINT_OPTIONS = hardening=+all include /usr/share/dpkg/default.mk ifneq (,$(filter nodoc,$(DEB_BUILD_PROFILES))) ENABLE_DOCS = FALSE DISABLE_DOCS = TRUE else ENABLE_DOCS = TRUE DISABLE_DOCS = FALSE endif %: dh $@ override_dh_auto_configure: dh_auto_configure -- -DDOC_INSTALL_DIR=/usr/share/doc \ -DLIB=lib/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH) \ -DINCLUDE=include/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH) \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=FALSE \ -DCMAKE_SKIP_RPATH_INSTALL=TRUE \ -DUSE_TRANSLATION_SET=${TRANSLATION_SET:-zypp} \ -DENABLE_BUILD_DOCS=$(ENABLE_DOCS) \ -DDISABLE_AUTODOCS=$(DISABLE_DOCS) \ -DDEBIAN=1 override_dh_auto_test: mkdir -p $(HOME)/.gnupg dh_auto_test -- ARGS+='--exclude-regex \(NetworkRequestDispatcher_test\|EvDownloader_test\|Provider_test\|RepoInfo_test\|MirrorList_test\)'