[Pkg-ocaml-maint-commits] [SCM] OCaml packaging branch, master, updated. debian/3.11.0-1-22-g7aeac34
Stephane Glondu
steph at glondu.net
Tue Feb 17 10:34:22 UTC 2009
The following commit has been merged in the master branch:
commit 7aeac34655233748317d5ecfe51e038b7f4e006d
Author: Stephane Glondu <steph at glondu.net>
Date: Tue Feb 17 07:54:13 2009 +0100
Reflect changes in dh-ocaml
diff --git a/debian/rules b/debian/rules
index 2c0c70a..f3f47ce 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,26 +6,18 @@ ALL_PACKAGES := $(shell sed -ne 's/^Package: //p' debian/control)
OCAMLMAJOR := 3.11
OCAMLMINOR := 0
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-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))
-
# Build cache (for Debian debugging)
BUILDCACHE := $(wildcard ../ocaml.cache)
-# These are defined in ocamlvars.mk, but we redefine it since ocaml is not installed
+# These are defined here to avoid definition of them in ocamlvars.mk
OCAML_ABI := $(OCAMLMAJOR).$(OCAMLMINOR)
OCAML_STDLIB_DIR := /usr/lib/ocaml/$(OCAML_ABI)
-OCAML_DLL_DIR = $(OCAML_STDLIB_DIR)/stublibs
OCAML_NATIVE_ARCHS := $(shell cat debian/native-archs)
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+OCAML_OPT_ARCH := $(findstring $(DEB_BUILD_ARCH),$(OCAML_NATIVE_ARCHS))
OCAML_HAVE_OCAMLOPT := $(if $(OCAML_OPT_ARCH),yes,no)
-
-# We do not want ocamlvars.mk to be sourced again
-_cdbs_class_ocaml_vars = 1
-include /usr/share/cdbs/2/rules/ocamlinit.mk
+OCAML_OCAMLDOC_DESTDIR_HTML =
+include /usr/share/ocaml/ocamlinit.mk
MD5SUMSDIR = /var/lib/ocaml/md5sums
INSTDIR = $(CURDIR)/debian/tmp/usr
--
OCaml packaging
More information about the Pkg-ocaml-maint-commits
mailing list