[Pkg-ocaml-maint-commits] [SCM] zed packaging branch, master, updated. upstream/1.1-6-g215ec9e
Nicolas Dandrimont
Nicolas.Dandrimont at crans.org
Tue Feb 28 13:52:15 UTC 2012
The following commit has been merged in the master branch:
commit 215ec9e26fcd4526870d756126497b397216c767
Author: Nicolas Dandrimont <Nicolas.Dandrimont at crans.org>
Date: Tue Feb 28 14:12:39 2012 +0100
Do not install the cmxs files on no-natdynlink architectures
diff --git a/debian/libzed-ocaml.install.in b/debian/libzed-ocaml.install.in
index 0bae7a9..c9168be 100644
--- a/debian/libzed-ocaml.install.in
+++ b/debian/libzed-ocaml.install.in
@@ -1,3 +1,3 @@
@OCamlStdlibDir@/zed/META
@OCamlStdlibDir@/zed/*.cma
-OPT: @OCamlStdlibDir@/zed/*.cmxs
+DYN: @OCamlStdlibDir@/zed/*.cmxs
diff --git a/debian/rules b/debian/rules
index 1cebde8..9070b39 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,6 +36,9 @@ override_dh_auto_install:
.PHONY: override_dh_install
override_dh_install:
+ifeq ($(OCAML_NATDYNLINK),no)
+ find $(DESTDIR) -name '*.cmxs' -delete
+endif
dh_install --fail-missing
.PHONY: override_dh_auto_clean
--
zed packaging
More information about the Pkg-ocaml-maint-commits
mailing list