|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [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
Attachment:
doc-fix-mlvm _______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-api
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |