diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2018-10-30 23:46:56 +0100 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2018-11-03 19:25:23 +0100 |
commit | 1a84c5a2366600f274c610117cef59642718bf69 (patch) | |
tree | 4a676acfbfec5c1202ba8a683803190b8245296d | |
parent | eb3e615afb7b621cca8d4b8479531f5f65b3dfa2 (diff) | |
download | ocaml-sid-1a84c5a2366600f274c610117cef59642718bf69.tar.gz |
oasis: add documentation target
-rw-r--r-- | _oasis | 25 | ||||
-rw-r--r-- | sid.opam | 3 |
2 files changed, 19 insertions, 9 deletions
@@ -1,11 +1,12 @@ -OASISFormat: 0.4 -Name: sid -Version: 0 -Synopsis: non -Authors: phg -License: GPL-3 -BuildTools: ocamlbuild -Plugins: META (0.4), DevFiles (0.4) +OASISFormat: 0.4 +Name: sid +Version: 0 +Synopsis: non +Authors: phg +License: GPL-3 +BuildTools: ocamlbuild +Plugins: META (0.4), DevFiles (0.4) +AlphaFeatures: ocamlbuild_more_args Library "sid" Path: . @@ -36,3 +37,11 @@ Test "test_sidparse" TestTools: util/sidparse_test.sh Command: util/sidparse_test.sh +Document "sid_intf" + Type: ocamlbuild (0.4) + Buildtools: ocamldoc + Title: Module Sid + XOCamlbuildPath: . + XOCamlbuildExtraArgs: "-docflags '-colorize-code -short-functors -charset utf-8'" + XOCamlbuildLibraries: sid + @@ -15,8 +15,9 @@ depends: [ ] build: [ ["oasis" "setup"] - ["ocaml" "setup.ml" "-configure"] + ["ocaml" "setup.ml" "-configure" "--prefix" prefix] ["ocaml" "setup.ml" "-build"] + ["ocaml" "setup.ml" "-doc"] {with-doc} ] install: [make "install"] run-test: [make "test"] |