Files
libguestfs/perl/examples
Richard W.M. Jones 76c0a67d30 build: Add common CLEANFILES and DISTCLEANFILES to common-rules.mk.
By adding common CLEANFILES and DISTCLEANFILES variables to
common-rules.mk, we can remove these from most other Makefiles, and
also clean files more consistently.

Note that bin_PROGRAMS are already cleaned by 'make clean', so I
removed cases where these were unnecessarily added to CLEANFILES.
2016-08-25 16:54:34 +01:00
..
2015-10-05 15:43:35 +02:00
2015-10-05 15:43:35 +02:00

This directory contains various example programs which use the perl
Sys::Guestfs bindings to 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) To run a program without installing the library, set PERL5LIB and
LIBGUESTFS_PATH as in this example (if run from the root directory of
the source distribution):

  LIBGUESTFS_PATH=$(pwd)/appliance \
  PERL5LIB=$(pwd)/perl/blib/lib:$(pwd)/perl/blib/arch/auto/Sys/Guestfs \
  perl/examples/foo