X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=python%2FMakefile.am;h=dcd0625387faf9758a3220d120fd5bcd53eda35b;hp=509e87caf204e34ca724df82b43e04a19e53327b;hb=0884d8bbae6d76a603ec1385ada2938f88981c5c;hpb=d19ceb226c242844467b2935c1e19b989b4315e8 diff --git a/python/Makefile.am b/python/Makefile.am index 509e87c..dcd0625 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -15,10 +15,30 @@ # 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 \ + bindtests.py \ + run-bindtests \ + run-python-tests \ + 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=$(top_builddir)/appliance \ + PYTHONPATH=$(top_builddir)/python:$(top_builddir)/python/.libs + +TESTS = run-bindtests run-python-tests + +endif