X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=Makefile.in;h=d21bce8dc23116a9eebe237652a37cccaa23aeee;hb=b7900f7f60d4b5179e123c91de125cff72d50324;hp=d2a3cdee26bfff4f092e407c40713d2d0bcab26f;hpb=10ae94c252bfc3e744407115274fd3d92957d026;p=virt-df.git diff --git a/Makefile.in b/Makefile.in index d2a3cde..d21bce8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -21,9 +21,13 @@ VERSION = @PACKAGE_VERSION@ INSTALL = @INSTALL@ +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 doc: +all opt depend install: for d in $(SUBDIRS); do \ $(MAKE) -C $$d $@; \ if [ $$? -ne 0 ]; then exit 1; fi; \ @@ -35,6 +39,7 @@ clean: *.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 @@ -44,7 +49,7 @@ distclean: clean # Distribution. -dist: +dist: ChangeLog $(MAKE) check-manifest rm -rf $(PACKAGE)-$(VERSION) mkdir $(PACKAGE)-$(VERSION) @@ -61,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