diff --git a/.gitignore b/.gitignore index 8209538..9466c72 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ _build/* *.byte *.native +*.docdir setup.bin setup.data setup.log diff --git a/_oasis b/_oasis index 82eb010..e812037 100644 --- a/_oasis +++ b/_oasis @@ -13,6 +13,14 @@ Library tdk Pack: true Modules: S, Bdd, Vcr, Vlr +Document tdk + Title: Tdk Docs + Type: ocamlbuild (0.4) + BuildTools+: ocamldoc + Install: true + XOCamlbuildPath: lib + XOCamlbuildLibraries: tdk + Executable test_vcr Path: lib_test MainIs: test_vcr.ml diff --git a/setup.ml b/setup.ml index 79d99a5..64bc8ca 100644 --- a/setup.ml +++ b/setup.ml @@ -1,7 +1,7 @@ (* setup.ml generated for the first time by OASIS v0.4.4 *) (* OASIS_START *) -(* DO NOT EDIT (digest: 8abd8764570a85bb6d8ba152f92797df) *) +(* DO NOT EDIT (digest: f053e1ca64f08162b6bc7ac568680d2a) *) (* Regenerated by OASIS v0.4.4 Visit http://oasis.forge.ocamlcore.org for more information and @@ -6787,7 +6787,12 @@ let setup_t = cmd_distclean = [(OASISExpr.EBool true, None)] }) ]; - doc = []; + doc = + [ + ("tdk", + OCamlbuildDocPlugin.doc_build + {OCamlbuildDocPlugin.extra_args = []; run_path = "lib"}) + ]; install = InternalInstallPlugin.install; uninstall = InternalInstallPlugin.uninstall; clean = [OCamlbuildPlugin.clean]; @@ -6810,7 +6815,12 @@ let setup_t = cmd_distclean = [(OASISExpr.EBool true, None)] }) ]; - clean_doc = []; + clean_doc = + [ + ("tdk", + OCamlbuildDocPlugin.doc_clean + {OCamlbuildDocPlugin.extra_args = []; run_path = "lib"}) + ]; distclean = []; distclean_test = [ @@ -6923,6 +6933,34 @@ let setup_t = lib_findlib_name = Some "tdk"; lib_findlib_containers = [] }); + Doc + ({ + cs_name = "tdk"; + cs_data = PropList.Data.create (); + cs_plugin_data = [] + }, + { + doc_type = (`Doc, "ocamlbuild", Some "0.4"); + doc_custom = + { + pre_command = [(OASISExpr.EBool true, None)]; + post_command = [(OASISExpr.EBool true, None)] + }; + doc_build = + [ + (OASISExpr.ENot (OASISExpr.EFlag "docs"), false); + (OASISExpr.EFlag "docs", true) + ]; + doc_install = [(OASISExpr.EBool true, true)]; + doc_install_dir = "$docdir"; + doc_title = "Tdk Docs"; + doc_authors = []; + doc_abstract = None; + doc_format = OtherDoc; + doc_data_files = []; + doc_build_tools = + [ExternalTool "ocamlbuild"; ExternalTool "ocamldoc"] + }); Executable ({ cs_name = "test_vcr"; @@ -7052,7 +7090,7 @@ let setup_t = }; oasis_fn = Some "_oasis"; oasis_version = "0.4.4"; - oasis_digest = Some "\016\1515\167\174\r\181W\159)\030'\254cw\164"; + oasis_digest = Some "D>\153*\185\001\235\140\2227\141v}\t\173\203"; oasis_exec = None; oasis_setup_args = []; setup_update = false @@ -7060,6 +7098,6 @@ let setup_t = let setup () = BaseSetup.setup setup_t;; -# 7064 "setup.ml" +# 7102 "setup.ml" (* OASIS_STOP *) let () = setup ();;