+release: configure
+ $(MAKE) release_stage_2
+
+release_stage_2: clean all opt doc dist
+ $(MAKE) release_stage_3
+
+WEBSITE = ../redhat/websites
+
+release_stage_3:
+ rm -f $(WEBSITE)/ocaml-libvirt/html/*.{html,css}
+ 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.
+
+upload:
+ cd $(WEBSITE)/ocaml-libvirt && \
+ scp ChangeLog.txt index.html README.txt Screenshot*.png \
+ libvirt.org:/data/www/libvirt.org/ocaml && \
+ scp css/*.css \
+ libvirt.org:/data/www/libvirt.org/ocaml/css/ && \
+ scp html/*.html html/*.css \
+ libvirt.org:/data/www/libvirt.org/ocaml/html/
+ scp $(PACKAGE)-$(VERSION).tar.gz libvirt.org:/data/ftp/libvirt/ocaml/
+
+# Upload Windows binary installer to main website.
+
+winupload:
+ scp $(WININSTALLER) libvirt.org:/data/ftp/libvirt/ocaml/
+
+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