X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=python%2FMakefile.am;h=bab869e76229d6e392b1b956a322dcc34bb260f0;hb=62df226f26bd6ac3c481a7790eb89d760d2f0386;hp=42a43f83c6351ed0d9f6aa4e7ee61190c6feb333;hpb=acf9000252da7f4f3fde693ecc03461007cf0bf9;p=libguestfs.git diff --git a/python/Makefile.am b/python/Makefile.am index 42a43f8..bab869e 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -14,3 +14,28 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +EXTRA_DIST = \ + guestfs.py \ + guestfs-py.c \ + t/*.py + +if HAVE_PYTHON + +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