Files
libguestfs/examples
Matthew Booth 349814e9d9 Make it possible to build in a separate directory
This patch allows you to do:
mkdir build
cd build
../configure ...
make

This will output all generated files to the build directory. Given that
autogen automatically runs configure, you can also do:

BUILDDIR=./build ./autogen.sh

which will do the right thing.

Also:

* Fix a dependency bug which means that guestfs_protocol.h
  isn't automatically rebuilt.
* Re-running autogen.sh with no arguments won't blow away your previous
  configure arguments.
2009-07-03 16:16:51 +01:00
..

This directory contains various example programs which use the
libguestfs API.

As they are examples, these are licensed so they can be freely copied
and used without any restrictions.

Tips:

(1) To enable verbose messages, set environment variable
LIBGUESTFS_DEBUG=1

(2) If you haven't installed libguestfs, run the examples like this:
LIBGUESTFS_PATH=appliance examples/to-xml
(the path should point to the directory containing vmlinuz.* and
initramfs.* files).