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 -