correction pour utiliser camlrun pour lancer ocamldoc avant l'installation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4741 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
56bfe8ac25
commit
b502da3993
|
@ -32,6 +32,7 @@ OCAMLPP=-pp 'grep -v DEBUG'
|
|||
MKDIR=mkdir -p
|
||||
CP=cp -f
|
||||
OCAMLDOC=ocamldoc
|
||||
OCAMLDOC_RUN=$(CAMLRUN) $(OCAMLDOC)
|
||||
OCAMLDOC_OPT=$(OCAMLDOC).opt
|
||||
OCAMLDOC_LIBCMA=odoc_info.cma
|
||||
OCAMLDOC_LIBCMI=odoc_info.cmi
|
||||
|
@ -314,33 +315,33 @@ installopt_really:
|
|||
###########
|
||||
test: dummy
|
||||
$(MKDIR) $@
|
||||
./ocamldoc -html -colorize-code -d $@ $(INCLUDES) -dump $@/ocamldoc.odoc odoc*.ml odoc*.mli
|
||||
$(OCAMLDOC_RUN) -html -colorize-code -d $@ $(INCLUDES) -dump $@/ocamldoc.odoc odoc*.ml odoc*.mli
|
||||
|
||||
test_stdlib: dummy
|
||||
$(MKDIR) $@
|
||||
./ocamldoc -html -colorize-code -d $@ $(INCLUDES) -dump $@/stdlib.odoc ../stdlib/*.mli \
|
||||
$(OCAMLDOC_RUN) -html -colorize-code -d $@ $(INCLUDES) -dump $@/stdlib.odoc ../stdlib/*.mli \
|
||||
../otherlibs/unix/unix.mli \
|
||||
../otherlibs/str/str.mli
|
||||
|
||||
test_framed: dummy
|
||||
$(MKDIR) $@
|
||||
./ocamldoc -g odoc_fhtml.cmo -colorize-code -d $@ $(INCLUDES) odoc*.ml odoc*.mli
|
||||
$(OCAMLDOC_RUN) -g odoc_fhtml.cmo -colorize-code -d $@ $(INCLUDES) odoc*.ml odoc*.mli
|
||||
|
||||
test_latex: dummy
|
||||
$(MKDIR) $@
|
||||
./ocamldoc -latex -d $@ $(INCLUDES) odoc*.ml odoc*.mli
|
||||
$(OCAMLDOC_RUN) -latex -d $@ $(INCLUDES) odoc*.ml odoc*.mli
|
||||
|
||||
test_man: dummy
|
||||
$(MKDIR) $@
|
||||
./ocamldoc -man -d $@ $(INCLUDES) odoc*.ml odoc*.mli
|
||||
$(OCAMLDOC_RUN) -man -d $@ $(INCLUDES) odoc*.ml odoc*.mli
|
||||
|
||||
test_texi: dummy
|
||||
$(MKDIR) $@
|
||||
./ocamldoc -texi -d $@ $(INCLUDES) odoc*.ml odoc*.mli
|
||||
$(OCAMLDOC_RUN) -texi -d $@ $(INCLUDES) odoc*.ml odoc*.mli
|
||||
|
||||
stdlib_man: dummy
|
||||
$(MKDIR) $@
|
||||
./ocamldoc -man -d $@ $(INCLUDES) ../stdlib/*.mli \
|
||||
$(OCAMLDOC_RUN) -man -d $@ $(INCLUDES) ../stdlib/*.mli \
|
||||
-t "OCaml library" -man-mini \
|
||||
../otherlibs/unix/unix.mli \
|
||||
../otherlibs/str/str.mli \
|
||||
|
|
|
@ -30,6 +30,7 @@ OCAMLPP=-pp "grep -v DEBUG"
|
|||
MKDIR=mkdir
|
||||
CP=cp
|
||||
OCAMLDOC=ocamldoc
|
||||
OCAMLDOC_RUN=$(CAMLRUN) $(OCAMLDOC)
|
||||
OCAMLDOC_OPT=$(OCAMLDOC).opt
|
||||
OCAMLDOC_LIBCMA=odoc_info.cma
|
||||
OCAMLDOC_LIBCMI=odoc_info.cmi
|
||||
|
|
Loading…
Reference in New Issue