From e5ada18bd36893545374fd004eb0923d35c9e897 Mon Sep 17 00:00:00 2001 From: James McCoy Date: Tue, 9 Oct 2018 06:41:37 -0400 Subject: rules: Allow quiet builds when DEB_BUILD_OPTIONS=terse Signed-off-by: James McCoy --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index b260aa9..b226a5a 100755 --- a/debian/rules +++ b/debian/rules @@ -46,6 +46,10 @@ $(foreach o, $(d_b_o), \ $(foreach o, $(filter NO_%,$(d_b_o)), $(eval DEB_OPT_$(subst NO_,WITH_,$o) :=)) $(if $(DEB_OPT_PARALLEL),$(eval MAKEFLAGS += -j$(DEB_OPT_PARALLEL))) +ifndef DEB_OPT_TERSE + MAKE_B += LTFLAGS="--tag=CC" LTCXXFLAGS="--tag=CXX" +endif + # How to fix "#!/usr/bin/env " lines: $(call fix_shebangs_in, /your/dir) fix_shebangs_in = \ find $1 -type f | xargs -r egrep -m1 -c '^\#! ?/' | sed -n 's/:1//p' |\ -- cgit v1.2.3