#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS=hardening=+all include /usr/share/dpkg/architecture.mk include /usr/share/dpkg/buildflags.mk ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) BUILD_TESTS=ON else BUILD_TESTS=OFF endif export CFLAGS CPPFLAGS LDFLAGS %: dh $@ --buildsystem=cmake+ninja --builddirectory=build override_dh_auto_configure: dh_auto_configure -- -DMSGPACK_BUILD_TESTS=$(BUILD_TESTS) -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=OFF -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) override_dh_auto_build-indep: dh_auto_build -- doxygen override_dh_install-indep: dh_install -i override_dh_installdocs-indep: mkdir -p build/html dh_installdocs dh_doxygen override_dh_link-indep: dh_link -i jdupes -rl debian/libmsgpack-c-doc/usr/ override_dh_auto_test-indep: endif