[Pkg-ocaml-maint-commits] [SCM] ocaml-deriving-ocsigen packaging branch, master, updated. debian/0.1.1a-3-26-g550e6e9

Stephane Glondu steph at glondu.net
Mon Nov 21 20:15:55 UTC 2011


The following commit has been merged in the master branch:
commit cd315d022f50a30a27e3d2d389f4ecaf8ea2b9fb
Author: Pierre Chambart <chambart at crans.org>
Date:   Mon Nov 21 17:54:13 2011 +0100

    Install cmx

diff --git a/debian/patches/0006-Install-cmx.patch b/debian/patches/0006-Install-cmx.patch
new file mode 100644
index 0000000..5b6d28c
--- /dev/null
+++ b/debian/patches/0006-Install-cmx.patch
@@ -0,0 +1,31 @@
+From: Pierre Chambart <chambart at crans.org>
+Date: Mon, 21 Nov 2011 17:54:02 +0100
+Subject: Install cmx
+
+---
+ Makefile |    4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 6b816da..d0b67c4 100644
+--- a/Makefile
++++ b/Makefile
+@@ -39,7 +39,7 @@ VERSION := $(shell head -n 1 VERSION)
+ install:
+ 	${OCAMLFIND} install ${PROJECTNAME} \
+ 	  -patch-version ${VERSION} \
+-	  META ${INTF} ${IMPL} ${SYNTAX_INTF} ${NATIMPL} ${INTF:.cmi=.mli}
++	  META ${INTF} ${IMPL} ${SYNTAX_INTF} ${NATIMPL} ${INTF:.cmi=.mli} ${INTF:.cmi=.cmx}
+ 
+ install-byte:
+ 	${OCAMLFIND} install ${PROJECTNAME} \
+@@ -49,7 +49,7 @@ install-byte:
+ install-opt:
+ 	${OCAMLFIND} install ${PROJECTNAME} \
+ 	  -patch-version ${VERSION} \
+-	  META ${INTF} ${NATIMPL} ${SYNTAX_INTF} ${INTF:.cmi=.mli}
++	  META ${INTF} ${NATIMPL} ${SYNTAX_INTF} ${INTF:.cmi=.mli} ${INTF:.cmi=.cmx}
+ 
+ uninstall:
+ 	${OCAMLFIND} remove ${PROJECTNAME}
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index 864ba22..cc1b4aa 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 0003-syntax-package-exists-only-when-dev-is-installed.patch
 0004-build-cmxs.patch
 0005-remove-syntax.base-package.patch
+0006-Install-cmx.patch

-- 
ocaml-deriving-ocsigen packaging



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