X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile.in;h=e816d3b8501978ba2ff49139cbdfd5c8b0c7a21e;hb=40a01d1ac4c73496e06944fc1910694908f3442d;hp=da44e9c65d2fa07f8d387ae395823714b477716c;hpb=387659e02777e9098f58f1d4afaa6b8ce561663c;p=ocaml-libvirt.git diff --git a/Makefile.in b/Makefile.in index da44e9c..e816d3b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -27,7 +27,7 @@ OCAMLDOCFLAGS := -html -sort SUBDIRS = libvirt mlvirsh examples -all opt depend install: +all opt depend install-opt install-byte: for d in $(SUBDIRS); do \ $(MAKE) -C $$d $@; \ if [ $$? -ne 0 ]; then exit 1; fi; \ @@ -47,9 +47,12 @@ distclean: clean rm -f META rm -f libvirt/libvirt_version.ml rm -f Makefile + rm -f Make.rules rm -f libvirt/Makefile rm -f examples/Makefile rm -f mlvirsh/Makefile + rm -f mlvirsh/mlvirsh_gettext.ml + rm -f po/Makefile # Developer documentation (in html/ subdirectory). @@ -86,7 +89,7 @@ configure: force # Distribution. -dist: +dist: ChangeLog $(MAKE) check-manifest rm -rf $(PACKAGE)-$(VERSION) mkdir $(PACKAGE)-$(VERSION) @@ -103,6 +106,10 @@ check-manifest: rm -f .orig-manifest .check-manifest; \ exit $$rv +ChangeLog: + hg log --style changelog > $@.new + mv $@.new $@ + # Do a release (update the website). release: configure @@ -118,8 +125,6 @@ release_stage_3: cp html/*.{html,css} $(WEBSITE)/ocaml-libvirt/html/ cp README $(WEBSITE)/ocaml-libvirt/README.txt cp ChangeLog $(WEBSITE)/ocaml-libvirt/ChangeLog.txt -# cp virt-top/virt-top.txt $(WEBSITE)/virt-top/ -# cp ChangeLog $(WEBSITE)/virt-top/ChangeLog.txt # Upload to main website. @@ -141,4 +146,4 @@ winupload: force: .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 + release release_stage_2 release_stage_3 force