|
|
|
|
|
|
|
|
|
|
xen-api
[Xen-API] [PATCH] [ocamldoc] Ensure 'make doc' works with mlvm lib
# 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
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 <=
|
|
|
|
|