[Pkg-ocaml-maint-commits] [SCM] findlib packaging branch, master, updated. debian/1.2.4-2-2-g2e05290

Mehdi Dogguy dogguy at pps.jussieu.fr
Fri Jul 24 10:13:45 UTC 2009


The following commit has been merged in the master branch:
commit 2e05290a516432fd9d2ed01fdb06a6a86b5fb7d7
Author: Mehdi Dogguy <dogguy at pps.jussieu.fr>
Date:   Fri Jul 24 11:15:41 2009 +0200

    Insert dh_ocaml in the build process

diff --git a/debian/changelog b/debian/changelog
index b47be7f..3f5ca19 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 findlib (1.2.4-3) unstable; urgency=low
 
   * Add myself to uploaders
+  * Use dh_ocaml in the build process
+    - Modify debian/control accordingly
 
  -- Mehdi Dogguy <dogguy at pps.jussieu.fr>  Fri, 24 Jul 2009 12:05:23 +0200
 
diff --git a/debian/control b/debian/control
index 77653ed..f15f68f 100644
--- a/debian/control
+++ b/debian/control
@@ -24,7 +24,7 @@ Package: ocaml-findlib
 Section: devel
 Architecture: any
 Depends:
- ocaml-nox-${F:OCamlABI},
+ ${ocaml:Depends},
  ${shlibs:Depends},
  ${misc:Depends}
 Description: Management tool for OCaml programming language libraries
diff --git a/debian/rules b/debian/rules
index 8b12d6b..cc71cc5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,6 +39,11 @@ install/$(PKGNAME)::
 	test -d $(CURDIR)/debian/tmp/usr/share/man/man3 && \
 		rmdir $(CURDIR)/debian/tmp/usr/share/man/man3
 
+dh_ocaml:
+	dh_ocaml --runtime-map ocaml-findlib
+
+binary-predeb/$(PKGNAME):: dh_ocaml
+
 clean::
 	ln -sf doc/README README
 	-find . -name META -delete

-- 
findlib packaging



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