Convert .cvsignore files to .cvsignore files, and remove some generated files.
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 30 Aug 2007 16:46:09 +0000 (17:46 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 30 Aug 2007 16:46:09 +0000 (17:46 +0100)
.cvsignore [deleted file]
.hgignore [new file with mode: 0644]
examples/.cvsignore [deleted file]
libvirt/.cvsignore [deleted file]
libvirt/libvirt_version.ml [deleted file]
mlvirsh/.cvsignore [deleted file]
mlvirtmanager/.cvsignore [deleted file]
virt-top/.cvsignore [deleted file]
virt-top/Makefile [deleted file]

diff --git a/.cvsignore b/.cvsignore
deleted file mode 100644 (file)
index 01289d4..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-META
-ocaml-libvirt-*.tar.gz
-html
-configure
-config.log
-config.status
-config.h
-Makefile
-autom4te.cache
-core
-core.*
\ No newline at end of file
diff --git a/.hgignore b/.hgignore
new file mode 100644 (file)
index 0000000..1d962d2
--- /dev/null
+++ b/.hgignore
@@ -0,0 +1,27 @@
+syntax: glob
+META
+ocaml-libvirt-*.tar.gz
+html
+configure
+config.log
+config.status
+config.h
+Makefile
+*/Makefile
+autom4te.cache
+core
+core.*
+*.cmi
+*.cmo
+*.cmx
+*.cma
+*.cmxa
+*.o
+*.so
+*.a
+*.opt
+libvirt/libvirt_version.ml
+examples/list_domains
+mlvirsh/mlvirsh
+mlvirtmanager/mlvirtmanager
+virt-top/virt-top
diff --git a/examples/.cvsignore b/examples/.cvsignore
deleted file mode 100644 (file)
index 1353c69..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-*.cmi
-*.cmo
-*.cmx
-*.cma
-*.cmxa
-Makefile
-list_domains
-list_domains.opt
\ No newline at end of file
diff --git a/libvirt/.cvsignore b/libvirt/.cvsignore
deleted file mode 100644 (file)
index beb49ff..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-*.cmi
-*.cmo
-*.cmx
-*.cma
-*.cmxa
-Makefile
-libvirt_version.ml
\ No newline at end of file
diff --git a/libvirt/libvirt_version.ml b/libvirt/libvirt_version.ml
deleted file mode 100644 (file)
index 329d22e..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-(* Helper module containing the version of the OCaml bindings.
- * $Id: libvirt_version.ml.in,v 1.2 2007/08/21 12:33:40 rjones Exp $
- *)
-
-let package = "ocaml-libvirt"
-let version = "0.3.2.4"
diff --git a/mlvirsh/.cvsignore b/mlvirsh/.cvsignore
deleted file mode 100644 (file)
index 7d561e2..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-*.cmi
-*.cmo
-*.cmx
-*.cma
-*.cmxa
-Makefile
-mlvirsh
-mlvirsh.opt
\ No newline at end of file
diff --git a/mlvirtmanager/.cvsignore b/mlvirtmanager/.cvsignore
deleted file mode 100644 (file)
index df80d41..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-*.cmi
-*.cmo
-*.cmx
-*.cma
-*.cmxa
-Makefile
-mlvirtmanager
-mlvirtmanager.opt
\ No newline at end of file
diff --git a/virt-top/.cvsignore b/virt-top/.cvsignore
deleted file mode 100644 (file)
index cb61894..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-*.cmi
-*.cmo
-*.cmx
-*.cma
-*.cmxa
-Makefile
-virt-top
-virt-top.opt
\ No newline at end of file
diff --git a/virt-top/Makefile b/virt-top/Makefile
deleted file mode 100644 (file)
index 9c7ef0b..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-# $Id: Makefile.in,v 1.6 2007/08/23 11:09:19 rjones Exp $
-
-PACKAGE                := ocaml-libvirt
-VERSION                := 0.3.2.4
-
-INSTALL                := /usr/bin/install -c
-HAVE_PERLDOC   := perldoc
-
-prefix         = /usr/local
-exec_prefix    = ${prefix}
-bindir         = ${exec_prefix}/bin
-
-pkg_curses     = yes
-pkg_xml_light  = yes
-pkg_csv                = yes
-
-OCAMLCPACKAGES := -package unix,extlib,curses
-
-OBJS           := virt_top.cmo
-ifeq ($(pkg_xml_light),yes)
-OBJS           += virt_top_xml.cmo
-OCAMLCPACKAGES := $(OCAMLCPACKAGES),xml-light
-endif
-ifeq ($(pkg_csv),yes)
-OBJS           += virt_top_csv.cmo
-OCAMLCPACKAGES := $(OCAMLCPACKAGES),csv
-endif
-OBJS           += virt_top_main.cmo
-
-XOBJS          := $(OBJS:.cmo=.cmx)
-
-OCAMLCPACKAGES  += -I ../libvirt
-OCAMLCFLAGS    := -g -w s
-OCAMLCLIBS     := -linkpkg
-
-OCAMLOPTPACKAGES := $(OCAMLCPACKAGES)
-OCAMLOPTFLAGS  := -w s
-OCAMLOPTLIBS   := $(OCAMLCLIBS)
-
-export LIBRARY_PATH=../libvirt
-export LD_LIBRARY_PATH=../libvirt
-
-BYTE_TARGETS   := virt-top
-OPT_TARGETS    := virt-top.opt
-
-ifeq ($(HAVE_PERLDOC),perldoc)
-BYTE_TARGETS   += virt-top.1 virt-top.txt
-endif
-
-all: $(BYTE_TARGETS)
-
-opt: $(OPT_TARGETS)
-
-virt-top: $(OBJS)
-       ocamlfind ocamlc $(OCAMLCPACKAGES) $(OCAMLCFLAGS) $(OCAMLCLIBS) \
-         ../libvirt/mllibvirt.cma -o $@ $^
-
-virt-top.opt: $(XOBJS)
-       ocamlfind ocamlopt \
-         $(OCAMLOPTPACKAGES) $(OCAMLOPTFLAGS) $(OCAMLOPTLIBS) \
-         ../libvirt/mllibvirt.cmxa -cclib -lncurses -o $@ $^
-
-# Manual page.
-ifeq ($(HAVE_PERLDOC),perldoc)
-virt-top.1: virt-top.pod
-       pod2man -c "Virtualization Support" --release "$(PACKAGE)-$(VERSION)" \
-               $< > $@
-
-virt-top.txt: virt-top.pod
-       pod2text $< > $@
-endif
-
-install:
-       if [ -x virt-top.opt ]; then \
-         mkdir -p $(DESTDIR)$(bindir); \
-         $(INSTALL) -m 0755 virt-top.opt $(DESTDIR)$(bindir)/virt-top; \
-       fi
-
-include ../Make.rules