]> git.pld-linux.org Git - packages/ocaml.git/blob - ocaml-mano.patch
73bed4790bcae12705245aa15435f674eb169aa5
[packages/ocaml.git] / ocaml-mano.patch
1 diff -ur ocaml-3.05/ocamldoc/Makefile ocaml-3.05-/ocamldoc/Makefile
2 --- ocaml-3.05/ocamldoc/Makefile        Tue Jul 23 15:21:14 2002
3 +++ ocaml-3.05-/ocamldoc/Makefile       Thu Aug  8 14:11:16 2002
4 @@ -40,7 +40,7 @@
5  OCAMLDOC_LIBA=odoc_info.a
6  INSTALL_LIBDIR=$(OCAMLLIB)/ocamldoc
7  INSTALL_BINDIR=$(OCAMLBIN)
8 -INSTALL_MANODIR=$(MANDIR)/mano
9 +INSTALL_MANODIR=$(MANDIR)/man3
10  
11  INSTALL_MLIS=odoc_info.mli odoc_args.mli
12  INSTALL_CMIS=$(INSTALL_MLIS:.mli=.cmi)
13 @@ -196,7 +196,7 @@
14  $(OCAMLDOC_LIBCMXA): $(LIBCMXFILES)
15         $(OCAMLOPT) -a -o $@ $(LINKFLAGS) $(OCAMLCMXFILES) $(LIBCMXFILES)
16  
17 -manpages: stdlib_man/Pervasives.o
18 +manpages: stdlib_man/Pervasives.3o
19  
20  odoc_crc.ml: $(CMIFILES)
21         $(EXTRAC_CRC) $(INCLUDES) \
22 @@ -315,7 +315,7 @@
23         $(MKDIR) $@ 
24         $(OCAMLDOC_RUN) -texi -d $@ $(INCLUDES) odoc*.ml odoc*.mli
25  
26 -stdlib_man/Pervasives.o: $(STDLIB_MLIS)
27 +stdlib_man/Pervasives.3o: $(STDLIB_MLIS)
28         $(MKDIR) stdlib_man
29         $(OCAMLDOC_RUN) -man -d stdlib_man $(INCLUDES) \
30         -t "OCaml library" -man-mini \
31 diff -ur ocaml-3.05/ocamldoc/odoc_messages.ml ocaml-3.05-/ocamldoc/odoc_messages.ml
32 --- ocaml-3.05/ocamldoc/odoc_messages.ml        Tue Jul 23 16:11:51 2002
33 +++ ocaml-3.05-/ocamldoc/odoc_messages.ml       Thu Aug  8 14:09:56 2002
34 @@ -63,7 +63,7 @@
35  
36  let man_mini = " Generate man pages only for modules, module types,\n"^
37    "        classes and class types "^man_only
38 -let default_man_suffix = "o"
39 +let default_man_suffix = "3o"
40  let man_suffix = "<suffix>  use <suffix> for man page files "^
41    "(default is "^default_man_suffix^") "^man_only^"\n"
42  
This page took 0.02493 seconds and 2 git commands to generate.