[ioquake3] 12/39: debian/rules: automatically use V=0 or V=1 according to DH_QUIET

Simon McVittie smcv at debian.org
Sat Nov 5 20:26:22 UTC 2016


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit a7316287cad9386b490be158335499051f6d0ec9
Author: Simon McVittie <smcv at debian.org>
Date:   Sun Sep 25 18:41:39 2016 +0100

    debian/rules: automatically use V=0 or V=1 according to DH_QUIET
---
 debian/changelog | 1 +
 debian/rules     | 7 ++++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 22d38a0..3d87b15 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ ioquake3 (1.36+u20160914+dfsg1-2) UNRELEASED; urgency=medium
   * debian/.gitignore: update for debhelper 10
   * debian/rules: do the build in debian/build
   * debian/rules: let dh_auto_clean pick up the correct BUILD_DIR
+  * debian/rules: automatically use V=0 or V=1 according to DH_QUIET
 
  -- Simon McVittie <smcv at debian.org>  Sun, 25 Sep 2016 17:17:30 +0100
 
diff --git a/debian/rules b/debian/rules
index 2f2a43c..1c667bb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,7 +25,6 @@ TARGET = debug
 endif
 
 OPTIONS := \
-	V=1 \
 	BUILD_DIR=debian/build \
 	USE_CODEC_OPUS=1 \
 	USE_CODEC_VORBIS=1 \
@@ -50,6 +49,12 @@ OPTIONS := \
 	NO_STRIP=1 \
 	$(NULL)
 
+ifeq ($(DH_QUIET),1)
+	OPTIONS += V=0
+else
+	OPTIONS += V=1
+endif
+
 override_dh_auto_clean:
 	dh_auto_clean -- $(OPTIONS)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git



More information about the Pkg-games-commits mailing list