diff --git trunk/configure trunk/configure index 2fef7ad..82f72bd 100755 --- trunk/configure +++ trunk/configure @@ -449,6 +449,16 @@ else echo "ocamlbuild: not present" fi +# Check whether ocamldoc is present + +if [ -d "${ocaml_core_stdlib}/ocamldoc" ]; then + lodoc=ocamldoc + echo "ocamldoc: found" +else + lodoc="" + echo "ocamldoc: not present" +fi + # Check on camlp4: if [ $with_camlp4 -eq 0 ]; then @@ -521,7 +531,7 @@ fi # Generate the META files now. -l="$ldbm dynlink graphics num num-top str threads unix stdlib bigarray $llabltk $lcamlp4 $lobuild $lcomplibs $lbytes" +l="$ldbm dynlink graphics num num-top str threads unix stdlib bigarray $llabltk $lcamlp4 $lobuild $lodoc $lcomplibs $lbytes" for dir in site-lib-src/*; do # We do not really know if $dir is a directory. diff --git trunk/findlib.files trunk/findlib.files index cf2775e..f4b1a29 100644 --- trunk/findlib.files +++ trunk/findlib.files @@ -98,6 +98,8 @@ f site-lib-src/unix/interfaces.in f site-lib-src/unix/interfaces.out d site-lib-src/ocamlbuild f site-lib-src/ocamlbuild/META.in +d site-lib-src/ocamldoc +f site-lib-src/ocamldoc/META.in d site-lib-src/compiler-libs f site-lib-src/compiler-libs/META.in d site-lib-src/bytes diff --git trunk/site-lib-src/ocamldoc/META.in trunk/site-lib-src/ocamldoc/META.in new file mode 100644 index 0000000..3994bec --- /dev/null +++ trunk/site-lib-src/ocamldoc/META.in @@ -0,0 +1,5 @@ +`# Specification for the "ocamldoc" library' +`requires = "compiler-libs"' +`version = "[distributed with Ocaml]"' +`description = "ocamldoc support library"' +`directory= "^ocamldoc"'