WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

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

To: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] [PATCH] [ocamldoc] Ensure 'make doc' works with mlvm lib
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# 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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] [ocamldoc] Ensure 'make doc' works with mlvm lib, Rob Hoes <=