[Pkg-ocaml-maint-commits] [SCM] dose2 packaging branch, master, updated. debian/1.4.2-2-5-gb4bcdf8

Ralf Treinen treinen at free.fr
Thu Feb 10 21:03:04 UTC 2011


The following commit has been merged in the master branch:
commit 04d30ce556fd4df6663763bfbfa49016a9802f19
Author: Ralf Treinen <treinen at free.fr>
Date:   Thu Feb 10 21:31:08 2011 +0100

    generate API doc with ocamldoc

diff --git a/debian/changelog b/debian/changelog
index b512dbb..ff5b4f5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ dose2 (1.4.2-3) unstable; urgency=low
     of priority extra (closes: #612751).
   * Bump version in build-dependency on debhelper to (>= 7.0.50~), in 
     order to have dh overrides.
+  * Generate API doc with ocamldoc, install with doc-base.
+  * Fix spelling of Jérôme Vouillon in debian/copyright.
   
  -- Ralf Treinen <treinen at debian.org>  Thu, 10 Feb 2011 21:04:29 +0100
 
diff --git a/debian/copyright b/debian/copyright
index 48f9375..f15d5eb 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -10,7 +10,7 @@ Copyright: © 2004-2008 Berke Durak
 License: LGPL-3+
 
 File: satsolver/*
-Copyright: © 2005 Jerome Vouillon
+Copyright: © 2005 Jérôme Vouillon
            © 2005-2008 Jaap Boender
 License: LGPL-3+
 
diff --git a/debian/libdose2-ocaml-dev.doc-base b/debian/libdose2-ocaml-dev.doc-base
new file mode 100644
index 0000000..5be96e3
--- /dev/null
+++ b/debian/libdose2-ocaml-dev.doc-base
@@ -0,0 +1,9 @@
+Document: libdose2
+Title: libdose2-ocaml-dev  OCamldoc API Reference
+Author: Jaap Boender, Berke Durak, Jérôme Vouillon
+Abstract: API reference manual for libdose2-ocaml-dev (generated via OCamldoc)
+Section: Programming/OCaml
+
+Format: HTML
+Index: /usr/share/doc/libdose2-ocaml-dev/html/index.html
+Files: /usr/share/doc/libdose2-ocaml-dev/html/*
diff --git a/debian/libdose2-ocaml-dev.docs b/debian/libdose2-ocaml-dev.docs
index e845566..a575df6 100644
--- a/debian/libdose2-ocaml-dev.docs
+++ b/debian/libdose2-ocaml-dev.docs
@@ -1 +1,2 @@
 README
+debian/doc
diff --git a/debian/rules b/debian/rules
index 10726f5..cb73172 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,4 +10,13 @@ override_dh_install:
 	dh_install
 ifeq ($(OPT),true)
 	dh_install */*.cmxa /usr/lib/ocaml/dose2
-endif
\ No newline at end of file
+endif
+
+override_dh_auto_build:
+	dh_auto_build
+	mkdir -p debian/doc/html
+	ocamldoc -html -d debian/doc/html */*.mli
+
+override_dh_auto_clean:
+	dh_auto_clean
+	-rm -r debian/doc
\ No newline at end of file

-- 
dose2 packaging



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