From b9ef14bb7dc0e3556aa9b1de4236ba426ea2b110 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 11 Jun 2026 19:52:36 +0200 Subject: debian/: Update from official Debian packaging. --- debian/rules | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index d10a551..0a263ad 100755 --- a/debian/rules +++ b/debian/rules @@ -2,14 +2,20 @@ NULL = +export DPKG_GENSYMBOLS_CHECK_LEVEL=4 + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + DEB_CMAKE_EXTRA_FLAGS = \ -DCMAKE_INSTALL_LOCALSTATEDIR="/var" \ + -DENABLE_TESTS=ON \ + -DENABLE_COVERAGE=OFF \ $(NULL) -export DPKG_GENSYMBOLS_CHECK_LEVEL=4 - %: - dh $@ --parallel --with systemd + dh $@ override_dh_auto_configure: dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS) @@ -17,6 +23,12 @@ override_dh_auto_configure: override_dh_missing: dh_missing --fail-missing +override_dh_installchangelogs: + dh_installchangelogs NEWS + # For live test logs: #override_dh_auto_test: # ARGS=-V dh_auto_test + +get-orig-source: + uscan --noconf --force-download --rename --download-current-version --destdir=.. -- cgit v1.2.3