[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:44 UTC 2011
The following commit has been merged in the dhmk branch:
commit 579fc11b3c8020f3212f01df33453d4a65fe59b1
Author: Modestas Vainius <modestas at vainius.eu>
Date: Tue Mar 8 03:13:24 2011 +0200
Add variables which hold all (incl. -indep/-arch) targets for each action.
These should be useful for templating. They are named like:
$(dhmk_configure_targets)
$(dhmk_build_targets)
$(dhmk_install_targets)
$(dhmk_binary_targets)
etc...
dhmk_configure_targets would expand to "configure" while e.g.
dhmk_binary_targets to "binary-indep binary-arch binary".
---
qt-kde-team/2/dhmk.mk | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/qt-kde-team/2/dhmk.mk b/qt-kde-team/2/dhmk.mk
index 288aa26..7b60c7c 100644
--- a/qt-kde-team/2/dhmk.mk
+++ b/qt-kde-team/2/dhmk.mk
@@ -22,6 +22,10 @@ dhmk_indeparch_targets = build install binary
dhmk_rules_mk = debian/dhmk_rules.mk
dhmk_dhmk_pl := $(dir $(dhmk_this_makefile))dhmk.pl
+# Variables holding all (incl. -indep, -arch) targets for each action
+$(foreach t,$(dhmk_standard_targets),\
+ $(eval dhmk_$(t)_targets = $(if $(filter $t,$(dhmk_indeparch_targets)),$t-indep $t-arch) $t))
+
# $(call butfirstword,TEXT,DELIMITER)
butfirstword = $(patsubst $(firstword $(subst $2, ,$1))$2%,%,$1)
--
Debian Qt/KDE packaging tools
More information about the pkg-kde-commits
mailing list