[SCM] Debian Qt/KDE packaging tools branch, dhmk, updated. debian/0.9.5-15-g8a9f2f7

Modestas Vainius modax at alioth.debian.org
Tue Mar 8 01:45:43 UTC 2011


The following commit has been merged in the dhmk branch:
commit 4c686baac9f129060bd36c97fefa178b822f49e5
Author: Modestas Vainius <modestas at vainius.eu>
Date:   Tue Mar 8 02:03:28 2011 +0200

    Pass -a/-i via DH_OPTIONS for binary-{arch,indep} targets.
    
    This is a "traditional" approach.
---
 qt-kde-team/2/dhmk.mk |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/qt-kde-team/2/dhmk.mk b/qt-kde-team/2/dhmk.mk
index 4a0c3a9..b7bffe7 100644
--- a/qt-kde-team/2/dhmk.mk
+++ b/qt-kde-team/2/dhmk.mk
@@ -58,8 +58,8 @@ $(foreach t,$(dhmk_standard_targets),$(foreach c,$(dhmk_$(t)_commands),dhmk_pre_
 $(foreach t,$(dhmk_standard_targets),$(foreach c,$(dhmk_$(t)_commands),dhmk_post_$(t)_$(c))): dhmk_post_%:
 
 # Export common options for some actions (to submake)
-debian/dhmk_binary-arch: export dhmk_target_dh_options = -a
-debian/dhmk_binary-indep: export dhmk_target_dh_options = -i
+debian/dhmk_binary-arch: export DH_OPTIONS = -a
+debian/dhmk_binary-indep: export DH_OPTIONS = -i
 
 # Mark dynamic standard targets as PHONY
 .PHONY: $(foreach t,$(dhmk_dynamic_targets),debian/dhmk_$(t))
@@ -67,6 +67,7 @@ debian/dhmk_binary-indep: export dhmk_target_dh_options = -i
 # Create debian/dhmk_{action} targets.
 # NOTE: dhmk_run_{target}_commands are defined below
 $(foreach t,$(dhmk_standard_targets),debian/dhmk_$(t)): debian/dhmk_%:
+	$(if $(DH_OPTIONS),#### NOTE: DH_OPTIONS is set to $(DH_OPTIONS) ####)
 	$(MAKE) -f $(dhmk_top_makefile) dhmk_run_$*_commands
 	$(if $(filter $*,$(dhmk_stamped_targets)),touch $@)
 	$(if $(filter clean,$*),rm -f $(dhmk_rules_mk)\

-- 
Debian Qt/KDE packaging tools



More information about the pkg-kde-commits mailing list