Version 0.3.3.2.
[virt-top.git] / Makefile.in
index ce2e803..1db3843 100644 (file)
@@ -1,3 +1,20 @@
+# ocaml-libvirt
+# Copyright (C) 2007 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
+# License as published by the Free Software Foundation; either
+# version 2 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
+
 PACKAGE                = @PACKAGE_NAME@
 VERSION                = @PACKAGE_VERSION@
 
@@ -95,16 +112,27 @@ release: configure
 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: