#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS=hardening=+all export DEB_LDFLAGS_MAINT_APPEND = -fPIE -pie DOC_FET = usr/share/doc/fet %: dh $@ --buildsystem=cmake execute_before_dh_auto_build: # blhc false positives: CMakeCXXCompilerABI.cpp @echo 'blhc: ignore-line-regexp: [cg]\+\+ (?:.*?)/usr/share/cmake-\S+/Modules/CMakeCXXCompilerABI\.cpp' # Avoid extra-license-file warning by lintian override_dh_install: dh_install --exclude=$(DOC_FET)/COPYING --exclude=$(DOC_FET)/COPYIN.FDL --exclude=$(DOC_FET)/licenses # Increase max DIE limit and ignore dwz errors override_dh_dwz: -dh_dwz -- --max-die-limit 100000000