[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] [PATCH] [ocamldoc] Ensure 'make doc' works with mlvm lib


  • To: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
  • From: Rob Hoes <rob.hoes@xxxxxxxxxx>
  • Date: Wed, 13 Jan 2010 16:34:55 +0000
  • Delivery-date: Wed, 13 Jan 2010 08:34:59 -0800
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

# HG changeset patch
# User Rob Hoes <rob.hoes@xxxxxxxxxx>
[ocamldoc] Ensure 'make doc' works with mlvm lib

Signed-off-by: Rob Hoes <rob.hoes@xxxxxxxxxx>

diff -r cd440aa9ade9 mlvm/Makefile
--- a/mlvm/Makefile     Wed Jan 13 16:09:04 2010 +0000
+++ b/mlvm/Makefile     Wed Jan 13 16:29:18 2010 +0000
@@ -19,6 +19,8 @@
 OCAMLOPT = ocamlfind ocamlopt 
 COMPFLAG = -dtypes -g -I ../stdext -I ../camldm -I ../uuid -for-pack Lvm
 LIBS = lvm.cma lvm.cmxa
+
+DOCDIR = /myrepos/xen-api-libs.hg/doc
 
 default : $(LIBS)
 
@@ -49,6 +51,10 @@
        rm -f *.cmo *.cmi *.cmx *.o *~ *.annot lvmconfiglex.ml \
        lvmconfigparser.mli lvmconfigparser.ml
 
+.PHONY: doc
+doc: $(INTF)
+       python ../doc/doc.py $(DOCDIR) "mlvm" "package" "$(LIBOBJS)" "." 
"stdext,camldm,uuid,unix" ""
+       
 lvmconfigparser.ml : lvmconfigparser.mly
        ocamlyacc lvmconfigparser.mly
        $(OCAMLOPT) $(COMPFLAG) -c lvmconfigparser.mli

Attachment: doc-fix-mlvm
Description: Text document

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.