[Pkg-ocaml-maint-commits] [cairo-ocaml] 02/03: ocamldoc: dont use -v

Ralf Treinen treinen at moszumanska.debian.org
Fri Jun 23 08:07:32 UTC 2017


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

treinen pushed a commit to branch master
in repository cairo-ocaml.

commit 869adb8d38328ce93bcc13e4544118a54fc66ab6
Author: Ralf Treinen <treinen at irif.fr>
Date:   Fri Jun 23 09:55:38 2017 +0200

    ocamldoc: dont use -v
---
 debian/changelog                                |  4 +++-
 debian/patches/0004-ocamldoc-dont-use-v-option  | 16 ++++++++++++++++
 debian/patches/0004-ocamldoc-dont-use-v-option~ | 13 +++++++++++++
 debian/patches/series                           |  1 +
 4 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 929f700..eef97f5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,8 +7,10 @@ cairo-ocaml (1:1.2.0-6) UNRELEASED; urgency=medium
   * debian/copyright:
     - format 1.0
     - license changed to LGPL 2.1
+  * Patch 0004-ocamldoc-dont-use-v-option: drop option -v from invocation
+    of ocamldoc, since it makes ocamldoc produce no html pages.
 
- -- Ralf Treinen <treinen at debian.org>  Fri, 23 Jun 2017 09:19:23 +0200
+ -- Ralf Treinen <treinen at debian.org>  Fri, 23 Jun 2017 09:54:48 +0200
 
 cairo-ocaml (1:1.2.0-5.1) unstable; urgency=medium
 
diff --git a/debian/patches/0004-ocamldoc-dont-use-v-option b/debian/patches/0004-ocamldoc-dont-use-v-option
new file mode 100644
index 0000000..c08e124
--- /dev/null
+++ b/debian/patches/0004-ocamldoc-dont-use-v-option
@@ -0,0 +1,16 @@
+Author: Ralf Treinen <treinen at debian.org>
+Description: ocamldoc -html seems not to work with the -v option
+
+Index: cairo-ocaml/src/Makefile
+===================================================================
+--- cairo-ocaml.orig/src/Makefile	2017-06-23 09:50:32.007066588 +0200
++++ cairo-ocaml/src/Makefile	2017-06-23 09:51:50.066917074 +0200
+@@ -114,7 +114,7 @@
+ 
+ doc: $(DOCFILES:%.mli=%.cmi)
+ 	mkdir -p ../doc/html
+-	ocamldoc -v -html -d ../doc/html -t Cairo-ocaml $(if $(LABLGTKDIR),-I $(LABLGTKDIR)) $(DOCFILES) 
++	ocamldoc -html -d ../doc/html -t Cairo-ocaml $(if $(LABLGTKDIR),-I $(LABLGTKDIR)) $(DOCFILES) 
+ 
+ clean :
+ 	rm -f *.cm* *.o *.a *.so .depend
diff --git a/debian/patches/0004-ocamldoc-dont-use-v-option~ b/debian/patches/0004-ocamldoc-dont-use-v-option~
new file mode 100644
index 0000000..cc4226e
--- /dev/null
+++ b/debian/patches/0004-ocamldoc-dont-use-v-option~
@@ -0,0 +1,13 @@
+Index: cairo-ocaml/src/Makefile
+===================================================================
+--- cairo-ocaml.orig/src/Makefile	2017-06-23 09:50:32.007066588 +0200
++++ cairo-ocaml/src/Makefile	2017-06-23 09:51:50.066917074 +0200
+@@ -114,7 +114,7 @@
+ 
+ doc: $(DOCFILES:%.mli=%.cmi)
+ 	mkdir -p ../doc/html
+-	ocamldoc -v -html -d ../doc/html -t Cairo-ocaml $(if $(LABLGTKDIR),-I $(LABLGTKDIR)) $(DOCFILES) 
++	ocamldoc -html -d ../doc/html -t Cairo-ocaml $(if $(LABLGTKDIR),-I $(LABLGTKDIR)) $(DOCFILES) 
+ 
+ clean :
+ 	rm -f *.cm* *.o *.a *.so .depend
diff --git a/debian/patches/series b/debian/patches/series
index 865b7ec..4ad95b6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 0001-Add-missing-libraries-used-by-the-stubs-to-CAIRO_LIB.patch
 0002-Fix-Makefile-to-avoid-recompiling-files-in-usr.patch
 0003-Fix-FTBFS-on-bytecode-architectures.patch
+0004-ocamldoc-dont-use-v-option

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



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