#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ configure_options = ifneq ($(filter nodoc,$(DEB_BUILD_OPTIONS)),) configure_options += --disable-docbook-docs configure_options += --disable-documentation else configure_options += --enable-docbook-docs configure_options += --enable-documentation endif override_dh_auto_configure: dh_auto_configure -- \ --enable-installed-tests \ --with-yaml \ $(configure_options) override_dh_missing: dh_missing --fail-missing override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) debian/test.sh endif