Correct section for man pages.
authorSamuel Mimram <smimram@debian.org>
Wed, 4 Jan 2006 20:17:18 +0000 (20:17 +0000)
committerSamuel Mimram <smimram@debian.org>
Wed, 4 Jan 2006 20:17:18 +0000 (20:17 +0000)
debian/changelog
debian/patches/00list
debian/patches/manpages_section.dpatch [new file with mode: 0755]

index 1179aa46a3bcab94699c0f31bfae69880b5f804b..8591ef785d19f2e9f2284b748a49549ff2e668be 100644 (file)
@@ -4,6 +4,7 @@ ocaml (3.09.1-1) UNRELEASED; urgency=low
   * Removing possibly leftover /usr/lib/ocaml/ld.conf, closes: #300846.
   * Updated objinfo.dpatch.
   * Added dumpobj.dpatch to install ocamldumpobj.
+  * Added manpages_section.dpatch to correct the section for man pages.
   * Added a rule in rules to generate (manually) ocaml-source.files and
     updated ocaml-source.files.
   * Added a watch file.
index 04b4ec79099302eb4ba72b3ebddb0a3c670dd9e7..1e6c05ad9b54f49c8e6183e5093501d3aafdb3f5 100644 (file)
@@ -1,4 +1,5 @@
 versioned_libdir
+manpages_section
 objinfo
 dumpobj
 man-ocamlmklib
diff --git a/debian/patches/manpages_section.dpatch b/debian/patches/manpages_section.dpatch
new file mode 100755 (executable)
index 0000000..9ca91f7
--- /dev/null
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## manpages_section.dpatch by Samuel Mimram <smimram@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct section (3) for manpages.
+
+@DPATCH@
+diff -urNad ocaml-3.09.1~/ocamldoc/Makefile ocaml-3.09.1/ocamldoc/Makefile
+--- ocaml-3.09.1~/ocamldoc/Makefile    2005-11-10 15:44:36.000000000 +0100
++++ ocaml-3.09.1/ocamldoc/Makefile     2006-01-04 21:14:39.000000000 +0100
+@@ -313,7 +313,7 @@
+ stdlib_man/Pervasives.3o: $(STDLIB_MLIS)
+       $(MKDIR) stdlib_man
+-      $(OCAMLDOC_RUN) -man -d stdlib_man $(INCLUDES) \
++      $(OCAMLDOC_RUN) -man -man-section 3 -d stdlib_man $(INCLUDES) \
+       -t "OCaml library" -man-mini \
+       $(STDLIB_MLIS)