[Pkg-ocaml-maint-commits] [SCM] OCaml packaging branch, experimental/master, updated. debian/3.11.1-5-16-gff30d07
Stephane Glondu
steph at glondu.net
Wed Jan 27 18:49:37 UTC 2010
The following commit has been merged in the experimental/master branch:
commit ff30d077a3fed9d1b4d47b1ee42a6e0865c98bd8
Author: Stephane Glondu <steph at glondu.net>
Date: Wed Jan 27 19:09:06 2010 +0100
Fail if $(OCAML_ABI) is incorrect
diff --git a/debian/rules b/debian/rules
index 0efc2cd..a450c8e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -235,6 +235,11 @@ endif
--runtime-map ocaml-nox:ocaml-base-nox,ocaml:ocaml-base,camlp4 \
--checksum $(OCAML_ABI)
dh_gencontrol
+ # Check that OCAML_ABI is correct
+ if [ "$(OCAML_ABI)" != "$(shell boot/ocamlrun ocamlc -version)" ]; then \
+ echo "Please adjust OCAML_ABI in debian/rules"; \
+ exit 2; \
+ fi
dh binary --after dh_gencontrol
touch $@
--
OCaml packaging
More information about the Pkg-ocaml-maint-commits
mailing list