d/rules: add support for the terse build option

Signed-off-by: Jeremy Sowden <azazel@debian.org>
This commit is contained in:
Jeremy Sowden
2025-01-02 14:15:24 +00:00
parent b920681a5e
commit a9ac11a4ec

10
debian/rules vendored
View File

@ -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)