On Sat, Aug 25, 2007 at 03:32:35PM -0400, Eric Cooper wrote: > BTW, how does this work when using cdbs + OCamlMakefile, which already > has a simple "htdoc" target and OCAMLDOCFLAGS variable? Well, the CDBS class assumes you aren't generating the ocamldoc documentation by any other means, so it either do it everything for you or nothing with some degree of customization (in the spirit of other features implemented via CDBS). So if you want to use the CDBS way you should disable other ways of doing that. > DEB_MAKE_BUILD_TARGET = htdoc byte-code-library > ifeq ($(OCAML_HAVE_OCAMLOPT),yes) > DEB_MAKE_BUILD_TARGET += native-code-library > endif > and there is a file libfoo-ocaml-dev.docs containing > doc/foo/html This will become: DEB_MAKE_BUILD_TARGET = byte-code-library OCAML_OCAMLDOC_PACKAGES = libfoo-ocaml-dev ifeq ($(OCAML_HAVE_OCAMLOPT),yes) DEB_MAKE_BUILD_TARGET += native-code-library endif with no need of any line in libfoo-ocaml-dev.docs. Of course the second line will vanish if we change the default to match lib*-ocaml-dev packages. Cheers. -- Stefano Zacchiroli -*- PhD in Computer Science ............... now what? zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/ (15:56:48) Zack: e la demo dema ? /\ All one has to do is hit the (15:57:15) Bac: no, la demo scema \/ right keys at the right time
Attachment:
signature.asc
Description: Digital signature