#!/usr/bin/make -f # Uncomment below to enable verbose logging. #DH_VERBOSE = 1 # Check for changes in the symbols. export DPKG_GENSYMBOLS_CHECK_LEVEL=4 # Enable all build hardening flags. export DEB_BUILD_MAINT_OPTIONS = hardening=+all # Force standard to avoid problems building against gcc16. # This can probably removed at some point in the future. export DEB_CXXFLAGS_MAINT_APPEND = -std=gnu++17 %: dh $@ execute_before_dh_install: # Remove any undefined "an-trap" macros from the man pages. sed -i '/an-trap/d' debian/tmp/usr/share/man/man3/* # TODO: See if this is still needed. override_dh_autoreconf: cp unicode_ultcasetab.c unicode_ultcasetab.c.orig dh_autoreconf # TODO: See if this is still needed. execute_before_dh_auto_clean: [ ! -f unicode_ultcasetab.c.orig ] \ || mv -v unicode_ultcasetab.c.orig unicode_ultcasetab.c