Rewrite virt-edit in C.
[libguestfs.git] / Makefile.am
index c5f5a2d..b475659 100644 (file)
@@ -1,5 +1,5 @@
 # libguestfs
-# Copyright (C) 2009-2010 Red Hat Inc.
+# Copyright (C) 2009-2011 Red Hat Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -36,11 +36,11 @@ SUBDIRS += gnulib/tests capitests regressions test-tool
 SUBDIRS += fish
 
 # virt-tools in C.
-SUBDIRS += cat df inspector rescue
+SUBDIRS += cat df edit inspector rescue
 
 # Language bindings.
 if HAVE_PERL
-SUBDIRS += perl
+SUBDIRS += perl perl/examples
 endif
 if HAVE_OCAML
 SUBDIRS += ocaml ocaml/examples
@@ -64,6 +64,13 @@ endif
 # Unconditional because nothing is built yet.
 SUBDIRS += csharp
 
+# virt-resize 2.0 is written in OCaml.
+if HAVE_OCAML
+if HAVE_OCAML_PCRE
+SUBDIRS += resize
+endif
+endif
+
 # Perl tools and guestmount.
 if HAVE_TOOLS
 SUBDIRS += tools
@@ -74,7 +81,9 @@ SUBDIRS += fuse
 endif
 
 # po-docs must come after tools, inspector.
+if HAVE_PO4A
 SUBDIRS += po-docs
+endif
 
 EXTRA_DIST = \
        $(generator_built) \
@@ -95,7 +104,9 @@ EXTRA_DIST = \
        libtool-kill-dependency_libs.sh \
        autogen.sh \
        bugs-in-changelog.sh \
-       update-bugs.sh
+       update-bugs.sh \
+       logo/fish.svg logo/fish.png \
+       run
 
 # Recipes web page.
 html/recipes.html: $(wildcard recipes/*.sh) $(wildcard recipes/*.html) $(wildcard recipes/*.example) Makefile make-recipes.sh
@@ -108,6 +119,7 @@ HTMLFILES = \
        html/guestfs.3.html \
        html/guestfs-examples.3.html \
        html/guestfs-ocaml.3.html \
+       html/guestfs-perl.3.html \
        html/guestfs-python.3.html \
        html/guestfs-ruby.3.html \
        html/guestfish.1.html \
@@ -194,7 +206,7 @@ CLEANFILES = \
 # is NOT a substitute for proper testing!
 
 quickcheck:
-       test-tool/run-test-tool-locally
+       ./run test-tool/libguestfs-test-tool
 
 # Make binary distribution.