mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
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.
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).