[Pkg-ocaml-maint-commits] [SCM] js-of-ocaml packaging branch, master, updated. debian/1.0.8-1-6-g0784ea3
Stephane Glondu
steph at glondu.net
Sat Dec 3 12:58:08 UTC 2011
The following commit has been merged in the master branch:
commit 0453d674197d4faed558e9317f8ff2bf8e364ebe
Author: Stephane Glondu <steph at glondu.net>
Date: Sat Dec 3 13:42:24 2011 +0100
Do not install plugins on architectures without natdynlink
Fixes FTBFS on armel.
diff --git a/debian/rules b/debian/rules
index d36d7eb..54279f5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,6 +33,9 @@ override_dh_auto_install:
cp -a doc/api-html $(DOCDIR)/html/api
cp -a examples/* $(DOCDIR)/examples
rm -f $(DOCDIR)/examples/*/*.cm* $(DOCDIR)/examples/*/*.byte
+ifeq ($(OCAML_NATDYNLINK),no)
+ find $(DESTDIR) -name '*.cmxs' -delete
+endif
.PHONY: override_dh_auto_clean
override_dh_auto_clean:
--
js-of-ocaml packaging
More information about the Pkg-ocaml-maint-commits
mailing list