blob: f5517373077e1560a11b303350dee6e409841d11 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- ./ocamldoc/Makefile.orig Thu Nov 10 17:44:36 2005
+++ ./ocamldoc/Makefile Sun May 21 14:02:41 2006
@@ -40,7 +40,7 @@
INSTALL_LIBDIR=$(OCAMLLIB)/ocamldoc
INSTALL_CUSTOMDIR=$(INSTALL_LIBDIR)/custom
INSTALL_BINDIR=$(OCAMLBIN)
-INSTALL_MANODIR=$(MANDIR)/man3
+INSTALL_MANODIR=$(MANDIR)/mann
INSTALL_MLIS=odoc_info.mli
INSTALL_CMIS=$(INSTALL_MLIS:.mli=.cmi)
@@ -261,7 +261,9 @@
$(CP) ocamldoc.hva *.cmi $(OCAMLDOC_LIBCMA) $(INSTALL_LIBDIR)
$(CP) $(INSTALL_MLIS) $(INSTALL_CMIS) $(INSTALL_LIBDIR)
if test -d $(INSTALL_MANODIR); then : ; else $(MKDIR) $(INSTALL_MANODIR); fi
- $(CP) stdlib_man/* $(INSTALL_MANODIR)
+ for f in stdlib_man/*; do \
+ $(CP) $$f $(INSTALL_MANODIR)/`basename $$f .3o`.n; \
+ done
installopt:
if test -f $(OCAMLDOC_OPT) ; then $(MAKE) installopt_really ; fi
|