[Pkg-ocaml-maint-commits] [SCM] ocaml-gnuplot packaging branch, master, updated. upstream/0.8.3-23-g179b4d4

2012-02-02 Thread Ralf Treinen
The following commit has been merged in the master branch:
commit 179b4d4e52723b72e324f4bdf48c8cc7215008ee
Merge: aece4aa8905febd5cc116ef31994234e5701e95b 
16c716a5326ae046f35696fc4b617d934c36f28d
Author: Ralf Treinen 
Date:   Thu Feb 2 14:31:47 2012 +0100

Merge branch 'master' of 
git+ssh://git.debian.org/git/pkg-ocaml-maint/packages/ocaml-gnuplot


-- 
ocaml-gnuplot packaging

___
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits


[Pkg-ocaml-maint-commits] [SCM] ocaml-gnuplot packaging branch, master, updated. upstream/0.8.3-23-g179b4d4

2012-02-02 Thread Ralf Treinen
The following commit has been merged in the master branch:
commit aece4aa8905febd5cc116ef31994234e5701e95b
Author: Ralf Treinen 
Date:   Thu Feb 2 12:29:30 2012 +0100

register doc with doc-base

diff --git a/debian/libgnuplot-ocaml-dev.doc-base 
b/debian/libgnuplot-ocaml-dev.doc-base
new file mode 100644
index 000..7007ed8
--- /dev/null
+++ b/debian/libgnuplot-ocaml-dev.doc-base
@@ -0,0 +1,9 @@
+Document: ocaml-gnuplot
+Title: libgnuplot-ocaml OCamldoc API Reference
+Author: Christophe Troestler
+Abstract: API reference manual for libgnuplot-ocaml-dev (generated via 
OCamldoc)
+Section: Programming/OCaml
+
+Format: HTML
+Index: /usr/share/doc/libgnuplot-ocaml-dev/gnuplot.html/index.html
+Files: /usr/share/doc/libgnuplot-ocaml-dev/gnuplot.html/*

-- 
ocaml-gnuplot packaging

___
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits


[Pkg-ocaml-maint-commits] [SCM] ocaml-gnuplot packaging branch, master, updated. upstream/0.8.3-23-g179b4d4

2012-02-02 Thread Ralf Treinen
The following commit has been merged in the master branch:
commit 279e46b0446f108deeb47f408edfc3aecfce8455
Author: Ralf Treinen 
Date:   Thu Feb 2 12:04:30 2012 +0100

compilation: distinction byte/native. Create and install docs.

diff --git a/debian/libgnuplot-ocaml-dev.docs b/debian/libgnuplot-ocaml-dev.docs
new file mode 100644
index 000..de0bdaf
--- /dev/null
+++ b/debian/libgnuplot-ocaml-dev.docs
@@ -0,0 +1 @@
+gnuplot.html/
diff --git a/debian/rules b/debian/rules
index 1ba13f1..50e2e16 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,14 @@
 #!/usr/bin/make -f
 
+OPTCOMPILER=/usr/bin/ocamlopt
+
 %:
dh $@ --with ocaml
 
+override_dh_auto_build:
+   if [ -x $(OPTCOMPILER) ]; then $(MAKE); else $(MAKE) byte; fi
+   make doc
+
 override_dh_auto_clean:
# hack to avoid removal of debian/rules when building from git
chmod 644 debian/rules

-- 
ocaml-gnuplot packaging

___
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits