2007-11-14 Richard Jones <rjones@redhat.com>
+ * Makefile.in: New rules for releasing and uploading.
+
+2007-11-14 Richard Jones <rjones@redhat.com>
+
* libvirt/libvirt.mli, libvirt/libvirt.ml, libvirt/libvirt_c.c:
Added support for virNodeGetFreeMemory and virNodeGetCellsFreeMemory
* mlvirsh/mlvirsh.ml: Added 'freecell' command.
release_stage_2: clean all opt doc dist
$(MAKE) release_stage_3
-WEBSITE = ../redhat/et-website
+WEBSITE = ../redhat/websites
release_stage_3:
rm -f $(WEBSITE)/ocaml-libvirt/html/*.{html,css}
cp html/*.{html,css} $(WEBSITE)/ocaml-libvirt/html/
- cp $(PACKAGE)-$(VERSION).tar.gz $(WEBSITE)/ocaml-libvirt/
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
+# 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/
force:
----------------------------------------------------------------------
Copyright (C) 2007 Richard W.M. Jones, Red Hat Inc.
-http://et.redhat.com/~rjones/ocaml-libvirt/
+http://libvirt.org/ocaml/
http://libvirt.org/
This is a complete set of OCaml bindings around libvirt, exposing all