diff options
-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"] |