d/rules: add support for the terse
build option
Signed-off-by: Jeremy Sowden <azazel@debian.org>
This commit is contained in:
10
debian/rules
vendored
10
debian/rules
vendored
@ -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)
|
||||
|
Reference in New Issue
Block a user