From dbe4ecee1851c5d3aaf00060b44c469995865908 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Mon, 27 Oct 2014 01:23:04 +0100 Subject: [PATCH] Prepare for documentation --- ocaml/Makefile | 7 +++++-- ocaml/_tags | 1 - 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ocaml/Makefile b/ocaml/Makefile index f2ef83a7..8e7f7987 100644 --- a/ocaml/Makefile +++ b/ocaml/Makefile @@ -24,8 +24,11 @@ default: $(ALL_TESTS) $(ALL_EXE) executables: $(MAKE) -C $(QPACKAGE_ROOT)/data executables -%.odoc: $(MLFILES) - $(OCAMLBUILD) $*.odoc -use-ocamlfind $(PKGS) +qpackage.odocl: $(MLIFILES) + ls $(MLIFILES) | sed "s/\.mli//" > qpackage.odocl + +doc: qpackage.odocl + $(OCAMLBUILD) qpackage.docdir/index.html -use-ocamlfind $(PKGS) %.inferred.mli: $(MLFILES) $(OCAMLBUILD) $*.inferred.mli -use-ocamlfind $(PKGS) diff --git a/ocaml/_tags b/ocaml/_tags index 980f3392..519d558f 100644 --- a/ocaml/_tags +++ b/ocaml/_tags @@ -1,3 +1,2 @@ true: package(core,sexplib.syntax,cryptokit) true: thread -