[Pkg-ocaml-maint-commits] [lwt] 10/11: Update packaging

Stéphane Glondu glondu at moszumanska.debian.org
Wed Oct 14 09:07:50 UTC 2015


This is an automated email from the git hooks/post-receive script.

glondu pushed a commit to branch master
in repository lwt.

commit 77524432ddbf439630ebf9388a294db8dd0d1e6f
Author: Stephane Glondu <steph at glondu.net>
Date:   Tue Jun 16 14:34:42 2015 +0200

    Update packaging
---
 debian/control                     | 1 +
 debian/liblwt-ocaml-dev.install.in | 8 ++++++--
 debian/modules.ml                  | 6 ++++++
 3 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 26f3942..99c88c9 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,7 @@ Build-Depends:
  liblablgtk2-ocaml-dev (>= 2.12.0-4~),
  libreact-ocaml-dev (>= 0.9.1-1~),
  libtext-ocaml-dev (>= 0.4),
+ libppx-tools-ocaml-dev,
  camlp4,
  ocaml-compiler-libs,
  ocaml-nox (>= 4),
diff --git a/debian/liblwt-ocaml-dev.install.in b/debian/liblwt-ocaml-dev.install.in
index 95f658a..f791cf1 100644
--- a/debian/liblwt-ocaml-dev.install.in
+++ b/debian/liblwt-ocaml-dev.install.in
@@ -1,4 +1,8 @@
-/usr/bin/lwt-toplevel
+/usr/bin/ppx_lwt
 @OCamlStdlibDir@/lwt/lwt_config.h
- at OCamlStdlibDir@/lwt/lwt_config.ml
 @OCamlStdlibDir@/lwt/lwt_unix.h
+ at OCamlStdlibDir@/lwt/lwt_log_rules.mli
+ at OCamlStdlibDir@/lwt/lwt_log_rules.cmi
+ at OCamlStdlibDir@/lwt/lwt_log_rules.cmt
+ at OCamlStdlibDir@/lwt/lwt_log_rules.cmti
+ at OCamlStdlibDir@/lwt/lwt_log_rules.annot
diff --git a/debian/modules.ml b/debian/modules.ml
index 1ea9436..a7be38a 100644
--- a/debian/modules.ml
+++ b/debian/modules.ml
@@ -22,6 +22,7 @@ let is_private = function
   | "Lwt_ocaml_completion"
   | "Lwt_simple_top"
   | "Lwt_unix_jobs_generated"
+  | "Lwt_config"
     -> true
   | _ -> false
 
@@ -39,6 +40,8 @@ let suffix = function
   | "lwt-preemptive" -> ""
   | "lwt-simple-top" -> ""
   | "lwt" -> ""
+  | "ppx" -> ""
+  | "lwt-log" -> ""
   | _ -> assert false
 
 let chop_prefix x =
@@ -90,6 +93,9 @@ let print_cma () cma =
     if not (is_private mname) then (
       Printf.fprintf dev "%s\n" (chop_prefix (m^".cmi"));
       Printf.fprintf dev "%s\n" (chop_prefix (m^".mli"));
+      Printf.fprintf dev "%s\n" (chop_prefix (m^".cmt"));
+      Printf.fprintf dev "%s\n" (chop_prefix (m^".cmti"));
+      Printf.fprintf dev "%s\n" (chop_prefix (m^".annot"));
     )
   in
   let print_dll m =

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/lwt.git



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