[Pkg-wmaker-commits] [wmhdplop] 22/40: debian/rules: Tidy up DEBIAN_HOST_ARCH_OS conditionals.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 17 11:10:12 UTC 2015


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

dtorrance-guest pushed a commit to branch master
in repository wmhdplop.

commit 84c4a9edb01f7717e3067f61c209907837ff4927
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Fri Oct 10 23:01:31 2014 -0500

    debian/rules: Tidy up DEBIAN_HOST_ARCH_OS conditionals.
---
 debian/rules | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index ec85c37..b86e2bf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,12 @@
 #!/usr/bin/make -f
+
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
 %:
 	dh $@ --with autotools-dev
 
+ifneq ($(DEB_HOST_ARCH_OS), linux)
 override_dh_auto_configure:
-ifeq ($(DEB_HOST_ARCH_OS), linux)
-	dh_auto_configure
-else
 	dh_auto_configure -- --disable-gkrellm
 endif
 

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



More information about the Pkg-wmaker-commits mailing list