X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=python%2FMakefile.am;h=76b92fdf05cd00e302328ed97f24c0d041cf29e9;hb=ea293658f41fb57a72f03e18d34597ef19c8d89d;hp=da52cfa32a968bcb7f153b0474f8d3476c854b5d;hpb=11400fde901e1c7a6d3c3887f322af66374793c2;p=libguestfs.git diff --git a/python/Makefile.am b/python/Makefile.am index da52cfa..76b92fd 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -18,23 +18,28 @@ # Old RHEL 5 autoconf doesn't have builddir. builddir ?= $(top_builddir)/python -EXTRA_DIST = \ - guestfs.py \ +include $(top_srcdir)/subdir-rules.mk + +generator_built = \ guestfs-py.c \ - bindtests.py \ + guestfs.py \ + bindtests.py + +EXTRA_DIST = \ + $(generator_built) \ run-bindtests \ run-python-tests \ t/*.py if HAVE_PYTHON -pythondir = $(PYTHON_SITE_PACKAGES) +pythondir = $(PYTHON_INSTALLDIR) python_DATA = guestfs.py python_LTLIBRARIES = libguestfsmod.la -libguestfsmod_la_SOURCES = guestfs-py.c +libguestfsmod_la_SOURCES = guestfs-py.c guestfs-py.h guestfs-py-byhand.c libguestfsmod_la_CFLAGS = -Wall -I$(PYTHON_INCLUDEDIR) \ -I$(top_srcdir)/src -I$(top_builddir)/src libguestfsmod_la_LIBADD = $(top_builddir)/src/libguestfs.la