[Pkg-ocaml-maint-commits] [SCM] dose3 packaging branch, master, updated. upstream/0.7-51-gf39c6fd
Ralf Treinen
treinen at free.fr
Mon Nov 8 08:06:12 UTC 2010
The following commit has been merged in the master branch:
commit a00178d178a7fdce63c33509c76514c05b4e47ad
Author: Ralf Treinen <treinen at free.fr>
Date: Fri Nov 5 19:33:44 2010 +0100
check whethe a package is currently considered
diff --git a/debian/rules b/debian/rules
index 053c8f1..d7735f2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,10 +15,13 @@ override_dh_auto_configure:
./configure --with-xml --with-ocamlgraph -- with-zip --with-bz2
override_dh_gencontrol:
- for pkg in $(NOEPOCH); do\
- dh_gencontrol -p$$pkg;\
- done
- for pkg in $(EPOCHED); do\
- dh_gencontrol -p$$pkg -- -v1:$(SRCV);\
- done
+ (these=`dh_listpackages`;\
+ for pkg in $(NOEPOCH); do\
+ if [[ $${these/*$$pkg*/@yes@} = "@yes@" ]];\
+ then dh_gencontrol -p$$pkg; fi;\
+ done;\
+ for pkg in $(EPOCHED); do\
+ if [[ $${these/*$$pkg*/@yes@} = "@yes@" ]];\
+ then dh_gencontrol -p$$pkg -- -v1:$(SRCV); fi\;\
+ done)
--
dose3 packaging
More information about the Pkg-ocaml-maint-commits
mailing list