X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile.in;h=4fcf6942ae60aeecdd0594673e4653ffd3d379ea;hb=50ded2d5cde1bb29dae988faab7a1d87f7d2e0a0;hp=cca638845d968cc7e4082328ee305efbd974905b;hpb=b70c967911e197b74d6d7ad98e3df9240d82572f;p=virt-mem.git diff --git a/Makefile.in b/Makefile.in index cca6388..4fcf694 100644 --- a/Makefile.in +++ b/Makefile.in @@ -24,6 +24,16 @@ MKDIR_P = @MKDIR_P@ datarootdir = @datarootdir@ mandir = @mandir@ +OCAMLDOCFLAGS = -html -sort -package bitstring,extlib,libvirt -I lib +OCAMLDOC = @OCAMLDOC@ +OCAMLDOCFILES = lib/virt_mem_utils.ml \ + lib/virt_mem_mmap.mli \ + lib/virt_mem_types.mli \ + lib/virt_mem_ksyms.mli \ + lib/virt_mem_kallsyms.mli \ + lib/virt_mem_utsname.mli \ + lib/virt_mem.mli + HAVE_PERLDOC = @HAVE_PERLDOC@ TOOLS = uname dmesg ps @@ -51,7 +61,7 @@ install: install-man if [ $$? -ne 0 ]; then exit 1; fi; \ done -depend doc: +depend: for d in $(SUBDIRS_NOT_PO); do \ $(MAKE) -C $$d $@; \ if [ $$? -ne 0 ]; then exit 1; fi; \ @@ -73,6 +83,17 @@ distclean: clean rm -f Makefile rm -f */Makefile +# Developer documentation (in html/ subdirectory). + +ifneq ($(OCAMLDOC),) +ifneq ($(OCAMLDOCFILES),) +doc: + rm -rf html + mkdir html + -ocamlfind ocamldoc $(OCAMLDOCFLAGS) -d html $(OCAMLDOCFILES) +endif +endif + # Manual page. ifeq ($(HAVE_PERLDOC),perldoc)