From a9ac11a4ec96295dbdb8ce4552dd0985cf5c0e75 Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Thu, 2 Jan 2025 14:15:24 +0000 Subject: [PATCH] d/rules: add support for the `terse` build option Signed-off-by: Jeremy Sowden --- debian/rules | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/debian/rules b/debian/rules index d8309f6..f4cc636 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,16 @@ #!/usr/bin/make -f +ifeq (,$(filter terse,$(DEB_BUILD_OPTIONS))) +export DH_VERBOSE = 1 +configure_opts = --disable-silent-rules +else +configure_opts = --enable-silent-rules +endif + export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ + +override_dh_auto_configure: + dh_auto_configure -- $(configure_opts)