[Pkg-ocaml-maint-commits] [SCM] dh-ocaml packaging branch, master, updated. debian/0.5.0-42-g49a81f2

Sylvain Le Gall gildor at debian.org
Sun Jul 26 11:38:57 UTC 2009


The following commit has been merged in the master branch:
commit 49a81f2f05266c90c98e37a95a969e251ae22d47
Author: Sylvain Le Gall <gildor at debian.org>
Date:   Sun Jul 26 11:38:52 2009 +0000

    Add dh-ocaml (>= 0.9) build dependency when generating debian/control through CDBS

diff --git a/cdbs/1/rules/ocaml.mk b/cdbs/1/rules/ocaml.mk
index 5f78a5d..be99dd8 100644
--- a/cdbs/1/rules/ocaml.mk
+++ b/cdbs/1/rules/ocaml.mk
@@ -101,6 +101,10 @@ $(_cdbs_patch_system_unapply_rule): ocamlinit-stamp
 # XXX ASSUMPTION: debian/control has already been generated, i.e. this rule is
 # executed after the debian/control:: rule in builcore.mk
 ifneq ($(DEB_AUTO_UPDATE_DEBIAN_CONTROL),)
+
+# add required build dependency for dh_ocaml*
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), dh-ocaml (>= 0.9)
+
 debian/control::
 	if test -f debian/control && test -f debian/control.in ; then \
 		sed -i \
diff --git a/debian/changelog b/debian/changelog
index a29a554..d7d0ad5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ dh-ocaml (0.9.0) UNRELEASED; urgency=low
   [ Sylvain Le Gall ]
   * Rewrite ocaml-md5sums in perl and install it (Closes: #516502)
   * dh_ocaml now computes automatically dependencies (Closes: #522831)
+  * Add dh-ocaml (>= 0.9) build dependency when generating debian/control
+    through CDBS
 
   [ Mehdi Dogguy ]
   * Install ocaml.pm to enable: dh --with ocaml

-- 
dh-ocaml packaging



More information about the Pkg-ocaml-maint-commits mailing list