#!/usr/bin/make -f include /usr/share/dpkg/architecture.mk # Full hardening ON export DEB_BUILD_MAINT_OPTIONS = hardening=+all # Fixing reproducible builds LC_ALL := C.UTF-8 export LC_ALL # force C++ 20 # hurd needs -pthread export DEB_CXXFLAGS_MAINT_APPEND = -std=gnu++20 -pthread export DEB_LDFLAGS_MAINT_APPEND = -std=gnu++20 -pthread %: dh $@ override_dh_auto_configure-arch: dh_auto_configure -- --enable-shared override_dh_auto_configure-indep: dh_auto_configure -- --enable-shared override_dh_auto_build-indep: cd $(CURDIR)/doc/ && doxygen find -type f -iname "*.md5" -delete override_dh_auto_test: # some tests fail on hurd pg_virtualenv dh_auto_test || [ "$(DEB_HOST_ARCH_OS)" = "hurd" ] execute_before_dh_install: ## cleaning up dependency_libs filed in *.la files sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'` override_dh_installchangelogs: dh_installchangelogs NEWS