]> git.pld-linux.org Git - packages/ocaml.git/blobdiff - ocaml-mano.patch
- now works with 3.08
[packages/ocaml.git] / ocaml-mano.patch
index 73bed4790bcae12705245aa15435f674eb169aa5..f128a89db586fe03465fa96406c8336e5e50c3a1 100644 (file)
@@ -1,42 +1,11 @@
-diff -ur ocaml-3.05/ocamldoc/Makefile ocaml-3.05-/ocamldoc/Makefile
---- ocaml-3.05/ocamldoc/Makefile       Tue Jul 23 15:21:14 2002
-+++ ocaml-3.05-/ocamldoc/Makefile      Thu Aug  8 14:11:16 2002
-@@ -40,7 +40,7 @@
- OCAMLDOC_LIBA=odoc_info.a
- INSTALL_LIBDIR=$(OCAMLLIB)/ocamldoc
- INSTALL_BINDIR=$(OCAMLBIN)
--INSTALL_MANODIR=$(MANDIR)/mano
-+INSTALL_MANODIR=$(MANDIR)/man3
+--- ocaml-3.08.0/ocamldoc/odoc_messages.ml     2004-07-09 16:32:42.000000000 +0200
++++ ocaml-3.08.0_/ocamldoc/odoc_messages.ml    2004-07-21 21:13:04.724002928 +0200
+@@ -83,7 +83,7 @@
  
- INSTALL_MLIS=odoc_info.mli odoc_args.mli
- INSTALL_CMIS=$(INSTALL_MLIS:.mli=.cmi)
-@@ -196,7 +196,7 @@
- $(OCAMLDOC_LIBCMXA): $(LIBCMXFILES)
-       $(OCAMLOPT) -a -o $@ $(LINKFLAGS) $(OCAMLCMXFILES) $(LIBCMXFILES)
--manpages: stdlib_man/Pervasives.o
-+manpages: stdlib_man/Pervasives.3o
- odoc_crc.ml: $(CMIFILES)
-       $(EXTRAC_CRC) $(INCLUDES) \
-@@ -315,7 +315,7 @@
-       $(MKDIR) $@ 
-       $(OCAMLDOC_RUN) -texi -d $@ $(INCLUDES) odoc*.ml odoc*.mli
--stdlib_man/Pervasives.o: $(STDLIB_MLIS)
-+stdlib_man/Pervasives.3o: $(STDLIB_MLIS)
-       $(MKDIR) stdlib_man
-       $(OCAMLDOC_RUN) -man -d stdlib_man $(INCLUDES) \
-       -t "OCaml library" -man-mini \
-diff -ur ocaml-3.05/ocamldoc/odoc_messages.ml ocaml-3.05-/ocamldoc/odoc_messages.ml
---- ocaml-3.05/ocamldoc/odoc_messages.ml       Tue Jul 23 16:11:51 2002
-+++ ocaml-3.05-/ocamldoc/odoc_messages.ml      Thu Aug  8 14:09:56 2002
-@@ -63,7 +63,7 @@
- let man_mini = " Generate man pages only for modules, module types,\n"^
-   "        classes and class types "^man_only
+ let man_mini = "\tGenerate man pages only for modules, module types, classes\n"^
+   "\t\tand class types "^man_only
 -let default_man_suffix = "o"
 +let default_man_suffix = "3o"
- let man_suffix = "<suffix>  use <suffix> for man page files "^
+ let man_suffix = "<suffix>\n\t\tUse <suffix> for man page files "^
    "(default is "^default_man_suffix^") "^man_only^"\n"
  
This page took 0.03871 seconds and 4 git commands to generate.