# 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
# Language bindings.
if HAVE_PERL
-SUBDIRS += perl
+SUBDIRS += perl perl/examples
endif
if HAVE_OCAML
SUBDIRS += ocaml ocaml/examples
# 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
endif
# po-docs must come after tools, inspector.
+if HAVE_PO4A
SUBDIRS += po-docs
+endif
EXTRA_DIST = \
$(generator_built) \
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 \