Permalink
Browse files

build ocamldoc for Re, and regenerate with OASIS-0.3

  • Loading branch information...
Anil Madhavapeddy
Anil Madhavapeddy committed Aug 1, 2012
1 parent 7fac7ee commit 1456f0d6fc11fddcc7a4e0639db98d42109f1eee
Showing with 2,212 additions and 1,554 deletions.
  1. +9 −0 _oasis
  2. +11 −6 _tags
  3. +28 −16 lib/META
  4. +115 −89 myocamlbuild.ml
  5. +2,049 −1,443 setup.ml
View
9 _oasis
@@ -70,3 +70,12 @@ Test re_match
Run$: flag(tests)
Command: $re_match
WorkingDirectory: lib_test
+
+Document "re-api"
+ Title: API reference for Re
+ Type: ocamlbuild (0.3)
+ Install: true
+ InstallDir: $htmldir/api
+ BuildTools: ocamldoc
+ XOCamlbuildPath: ./lib
+ XOCamlbuildLibraries: re, re.emacs, re.glob, re.posix, re.perl, re.str
View
17 _tags
@@ -1,5 +1,5 @@
# OASIS_START
-# DO NOT EDIT (digest: 6fc959993b2d88e502cb62dab425bc82)
+# DO NOT EDIT (digest: fd7b7932bedf3d73c9707b119a754fe3)
# Ignore VCS directories, you can use the same kind of rule outside
# OASIS_START/STOP if you want to exclude directories that contains
# useless stuff for the build process
@@ -14,16 +14,21 @@
"_darcs": -traverse
"_darcs": not_hygienic
# Library re
+"lib/re.cmxs": use_re
# Library re_emacs
+"lib/re_emacs.cmxs": use_re_emacs
# Library re_str
+"lib/re_str.cmxs": use_re_str
<lib/*.ml{,i}>: use_re_emacs
+# Library re_posix
+"lib/re_posix.cmxs": use_re_posix
+# Library re_glob
+"lib/re_glob.cmxs": use_re_glob
+# Library re_perl
+"lib/re_perl.cmxs": use_re_perl
+<lib/*.ml{,i}>: use_re
# Executable re_match
<lib_test/re_match.{native,byte}>: use_re
<lib_test/*.ml{,i}>: use_re
<lib_test/re_match.{native,byte}>: custom
-# Library re_perl
-# Library re_glob
-# Library re_posix
-"lib": include
-<lib/*.ml{,i}>: use_re
# OASIS_STOP
View
@@ -1,52 +1,64 @@
# OASIS_START
-# DO NOT EDIT (digest: 74f55bd06cdf0cbca4ebdc3f647a082b)
+# DO NOT EDIT (digest: 1f20136033b003daaf1ce6b45da1b107)
version = "0.9-dev"
description = "Pure OCaml regular expression library"
archive(byte) = "re.cma"
+archive(byte, plugin) = "re.cma"
archive(native) = "re.cmxa"
+archive(native, plugin) = "re.cmxs"
exists_if = "re.cma"
+package "str" (
+ version = "0.9-dev"
+ description = "Str-compatible regexps"
+ requires = "re re.emacs"
+ archive(byte) = "re_str.cma"
+ archive(byte, plugin) = "re_str.cma"
+ archive(native) = "re_str.cmxa"
+ archive(native, plugin) = "re_str.cmxs"
+ exists_if = "re_str.cma"
+)
+
package "posix" (
version = "0.9-dev"
description = "POSIX-compatible regexps"
requires = "re"
archive(byte) = "re_posix.cma"
+ archive(byte, plugin) = "re_posix.cma"
archive(native) = "re_posix.cmxa"
+ archive(native, plugin) = "re_posix.cmxs"
exists_if = "re_posix.cma"
)
-package "glob" (
- version = "0.9-dev"
- description = "Shell glob regexps"
- requires = "re"
- archive(byte) = "re_glob.cma"
- archive(native) = "re_glob.cmxa"
- exists_if = "re_glob.cma"
-)
-
package "perl" (
version = "0.9-dev"
description = "Perl-compatible regexps"
requires = "re"
archive(byte) = "re_perl.cma"
+ archive(byte, plugin) = "re_perl.cma"
archive(native) = "re_perl.cmxa"
+ archive(native, plugin) = "re_perl.cmxs"
exists_if = "re_perl.cma"
)
-package "str" (
+package "glob" (
version = "0.9-dev"
- description = "Str-compatible regexps"
- requires = "re re.emacs"
- archive(byte) = "re_str.cma"
- archive(native) = "re_str.cmxa"
- exists_if = "re_str.cma"
+ description = "Shell glob regexps"
+ requires = "re"
+ archive(byte) = "re_glob.cma"
+ archive(byte, plugin) = "re_glob.cma"
+ archive(native) = "re_glob.cmxa"
+ archive(native, plugin) = "re_glob.cmxs"
+ exists_if = "re_glob.cma"
)
package "emacs" (
version = "0.9-dev"
description = "Emacs-compatible regexps"
requires = "re"
archive(byte) = "re_emacs.cma"
+ archive(byte, plugin) = "re_emacs.cma"
archive(native) = "re_emacs.cmxa"
+ archive(native, plugin) = "re_emacs.cmxs"
exists_if = "re_emacs.cma"
)
# OASIS_STOP
Oops, something went wrong.

0 comments on commit 1456f0d

Please sign in to comment.