X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile.in;h=d21bce8dc23116a9eebe237652a37cccaa23aeee;hb=5455fa546294b621e396dc195147da000739eb66;hp=24bb596c079ca17d5d291c35e17e9d87a160f917;hpb=2756390750d79836e7b101b41920e3ba288cbc0a;p=virt-df.git diff --git a/Makefile.in b/Makefile.in index 24bb596..d21bce8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,5 +1,6 @@ -# ocaml-libvirt -# Copyright (C) 2007 Red Hat Inc., Richard W.M. Jones +# virt-df +# @configure_input@ +# Copyright (C) 2007-2008 Red Hat Inc., Richard W.M. Jones # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -20,7 +21,11 @@ VERSION = @PACKAGE_VERSION@ INSTALL = @INSTALL@ -SUBDIRS = virt-df +OCAMLDOC = @OCAMLDOC@ +OCAMLDOCFLAGS += -html -sort -package bitstring -I lib +OCAMLDOCFILES := $(wildcard lib/diskimage*.mli) lib/int63.mli + +SUBDIRS = lib virt-df diskzip all opt depend install: for d in $(SUBDIRS); do \ @@ -30,9 +35,11 @@ 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); \ + (cd $$d; rm -f *.cmi *.cmo *.cmx *.cma *.cmxa *.o *.a \ + *.so *.opt *~ *.dll *.exe *.annot core); \ done rm -f virt-df/virt-df + rm -f diskzip/diskzip distclean: clean rm -f config.h config.log config.status configure @@ -42,7 +49,7 @@ distclean: clean # Distribution. -dist: +dist: ChangeLog $(MAKE) check-manifest rm -rf $(PACKAGE)-$(VERSION) mkdir $(PACKAGE)-$(VERSION) @@ -59,5 +66,19 @@ check-manifest: rm -f .orig-manifest .check-manifest; \ exit $$rv -.PHONY: all opt depend install clean distclean configure dist check-manifest \ - release release_stage_2 release_stage_3 force \ No newline at end of file +ChangeLog: + hg log --style changelog > $@.new + mv $@.new $@ + +# Developer documentation (in html/ subdirectory). + +ifneq ($(OCAMLDOC),) +ifneq ($(OCAMLDOCFILES),) +doc: + rm -rf html + mkdir html + -ocamlfind ocamldoc $(OCAMLDOCFLAGS) -d html $(OCAMLDOCFILES) +endif +endif + +.PHONY: all opt depend install clean distclean dist check-manifest doc force