#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ override_dh_auto_build-indep: ifeq ($(filter nodoc,$(DEB_BUILD_OPTIONS))$(filter nodoc,$(DEB_BUILD_PROFILES)),) $(MAKE) -C $(CURDIR)/doc docs endif override_dh_strip: dh_strip --dbgsym-migration='libmimetic0-dbg (<< 0.9.8-3~)' override_dh_compress: dh_compress -Xexamples override_dh_makeshlibs: # For new symbols when compiled with GCC 7 dh_makeshlibs -V'libmimetic0v5 (>= 0.9.8-6~)'