#!/usr/bin/make -f # The package ships the architecture independent library. CMAKE_FLAGS = -DCMAKE_INSTALL_LIBDIR=lib -DINTERNAL_EXPECTED=OFF ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) CMAKE_FLAGS += -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF endif # Put the generated code to a cleanable temporary directory. CMAKE_FLAGS += -DGENERATED_DIR=$(CURDIR)/debian/tmp export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow export GI_DEBUG = 1 # suppress warnings from a cppgir call %: dh $@ override_dh_auto_configure: dh_auto_configure -- $(CMAKE_FLAGS)