X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=python%2FMakefile.am;h=bab869e76229d6e392b1b956a322dcc34bb260f0;hp=509e87caf204e34ca724df82b43e04a19e53327b;hb=fa7c8bb79b45aecdf65ed93635a42f3fdf301134;hpb=d19ceb226c242844467b2935c1e19b989b4315e8 diff --git a/python/Makefile.am b/python/Makefile.am index 509e87c..bab869e 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -15,10 +15,27 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -EXTRA_DIST = README-python-bindings - -CLEANFILES = *~ +EXTRA_DIST = \ + guestfs.py \ + guestfs-py.c \ + t/*.py if HAVE_PYTHON -endif \ No newline at end of file +pythondir = $(PYTHON_SITE_PACKAGES) + +python_DATA = guestfs.py + +python_LTLIBRARIES = libguestfsmod.la + +libguestfsmod_la_SOURCES = guestfs-py.c +libguestfsmod_la_CFLAGS = -Wall -I$(PYTHON_INCLUDEDIR) -I$(top_builddir)/src +libguestfsmod_la_LIBADD = $(top_builddir)/src/libguestfs.la + +TESTS_ENVIRONMENT = \ + LIBGUESTFS_PATH=$(abs_top_builddir) \ + PYTHONPATH=$(abs_top_builddir)/python:$(abs_top_builddir)/python/.libs \ + $(PYTHON) +TESTS = t/005-import.py t/010-launch.py t/050-lvcreate.py + +endif