summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_oasis25
-rw-r--r--sid.opam3
2 files changed, 19 insertions, 9 deletions
diff --git a/_oasis b/_oasis
index c8c8ad0..1d33f12 100644
--- a/_oasis
+++ b/_oasis
@@ -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
+
diff --git a/sid.opam b/sid.opam
index d417760..de937d7 100644
--- a/sid.opam
+++ b/sid.opam
@@ -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"]