[Pkg-ocaml-maint-commits] [SCM] dh-ocaml packaging branch, master, updated. debian/0.2-5-g947ba22

Mehdi Dogguy dogguy at pps.jussieu.fr
Fri Feb 20 09:10:08 UTC 2009


The following commit has been merged in the master branch:
commit 68ca4f1fbff2f6810380fa1b759b6d90c363e7d8
Author: Mehdi Dogguy <dogguy at pps.jussieu.fr>
Date:   Fri Feb 20 10:08:58 2009 +0100

    Add variable OCAML_BEST in ocamlvars.mk, Add myself to uploaders

diff --git a/debian/control b/debian/control
index e3385ca..a1fa5bf 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
 Uploaders:
  Stefano Zacchiroli <zack at debian.org>,
  Stephane Glondu <steph at glondu.net>,
+ Mehdi Dogguy <dogguy at pps.jussieu.fr>,
  Samuel Mimram <smimram at debian.org>
 DM-Upload-Allowed: yes
 Build-Depends-Indep:
diff --git a/share/ocamlvars.mk b/share/ocamlvars.mk
index e469b54..06417d0 100644
--- a/share/ocamlvars.mk
+++ b/share/ocamlvars.mk
@@ -57,6 +57,9 @@ DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 DEB_BUILD_ARCH      ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 OCAML_OPT_ARCH      ?= $(findstring $(DEB_BUILD_ARCH),$(OCAML_NATIVE_ARCHS))
 
+# 'opt' when ocamlopt is present, 'byte' otherwise.
+OCAML_BEST ?= $(if $(OCAML_OPT_ARCH), opt, byte)
+
 # comma separated list of members of the OCaml team.
 # Substituted in debian/control.in for the @OCamlTeam@ marker
 OCAML_TEAM =

-- 
dh-ocaml packaging



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