X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile.in;h=87d131bc431f61b22a14e7d2e928fc6977684da0;hb=f5a7417793b3f0780b0dd49798ea27981f046d98;hp=2211d32768e8428b7351e1059446480b79471914;hpb=9611aba66734efe3e2f1e0792a90003b657a89f5;p=virt-df.git diff --git a/Makefile.in b/Makefile.in index 2211d32..87d131b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -20,7 +20,10 @@ VERSION = @PACKAGE_VERSION@ INSTALL = @INSTALL@ -SUBDIRS = lib virt-df +OCAMLDOC = @OCAMLDOC@ +OCAMLDOCFLAGS := -html -sort + +SUBDIRS = lib virt-df diskzip all opt depend install: for d in $(SUBDIRS); do \ @@ -31,7 +34,7 @@ all opt depend install: clean: for d in . $(SUBDIRS); do \ (cd $$d; rm -f *.cmi *.cmo *.cmx *.cma *.cmxa *.o *.a \ - *.so *.opt *~ *.dll *.exe core); \ + *.so *.opt *~ *.dll *.exe *.annot core); \ done rm -f virt-df/virt-df @@ -41,6 +44,18 @@ distclean: clean rm -f Makefile rm -f virt-df/Makefile +# Developer documentation (in html/ subdirectory). + +ifneq ($(OCAMLDOC),) +doc: + rm -rf html + mkdir html + -cd lib; \ + $(OCAMLDOC) $(OCAMLDOCFLAGS) -d ../html \ + -I +extlib -I +bitmatch \ + int63.mli diskimage.mli diskimage.ml +endif + # Distribution. dist: