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

Stephane Glondu steph at glondu.net
Sat Nov 19 13:52:44 UTC 2011


The following commit has been merged in the master branch:
commit 1fe5cba0fa6ab31b220f2d057a768a9efc0d03bb
Author: Pierre Chambart <chambart at crans.org>
Date:   Sat Nov 19 14:23:03 2011 +0100

    Install .mli files

diff --git a/debian/patches/0001-Install-.mli.patch b/debian/patches/0001-Install-.mli.patch
new file mode 100644
index 0000000..a5bbfdb
--- /dev/null
+++ b/debian/patches/0001-Install-.mli.patch
@@ -0,0 +1,48 @@
+From: Pierre Chambart <chambart at crans.org>
+Date: Tue, 15 Nov 2011 15:32:19 +0100
+Subject: Install .mli
+
+---
+ Makefile          |    6 +++---
+ Makefile.filelist |    5 +++--
+ 2 files changed, 6 insertions(+), 5 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index e496e54..6b816da 100644
+--- a/Makefile
++++ b/Makefile
+@@ -39,17 +39,17 @@ VERSION := $(shell head -n 1 VERSION)
+ install:
+ 	${OCAMLFIND} install ${PROJECTNAME} \
+ 	  -patch-version ${VERSION} \
+-	  META ${INTF} ${IMPL} ${NATIMPL}
++	  META ${INTF} ${IMPL} ${SYNTAX_INTF} ${NATIMPL} ${INTF:.cmi=.mli}
+ 
+ install-byte:
+ 	${OCAMLFIND} install ${PROJECTNAME} \
+ 	  -patch-version ${VERSION} \
+-	  META ${INTF} ${IMPL}
++	  META ${INTF} ${IMPL} ${SYNTAX_INTF} ${INTF:.cmi=.mli}
+ 
+ install-opt:
+ 	${OCAMLFIND} install ${PROJECTNAME} \
+ 	  -patch-version ${VERSION} \
+-	  META ${INTF} ${NATIMPL}
++	  META ${INTF} ${NATIMPL} ${SYNTAX_INTF} ${INTF:.cmi=.mli}
+ 
+ uninstall:
+ 	${OCAMLFIND} remove ${PROJECTNAME}
+diff --git a/Makefile.filelist b/Makefile.filelist
+index 27f6122..46f4518 100644
+--- a/Makefile.filelist
++++ b/Makefile.filelist
+@@ -1,5 +1,6 @@
+-INTF := syntax/pa_deriving_common.cmi \
+-        lib/deriving_Dump.cmi \
++SYNTAX_INTF := syntax/pa_deriving_common.cmi
++
++INTF := lib/deriving_Dump.cmi \
+ 	lib/deriving_monad.cmi \
+ 	lib/deriving_dynmap.cmi \
+ 	lib/deriving_Show.cmi \
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..3619dd4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Install-.mli.patch

-- 
ocaml-deriving-ocsigen packaging



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